TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dinesh Santhalingam
NA
737
370.4k
How to write a batch file using Notepad?
Feb 20 2017 7:55 AM
C:\
>
set
CREO_HOME
=
"C:\Program Files\PTC\Creo 2.0\Common Files\M100"
C:\
>
set
JAVA_HOME
=
D
:\dev-tools\jdk1.7.0_45_amd64
C:\
>
cd jlink-first-master
C:\jlink-first-master
>
%JAVA_HOME%\bin\javac cp %CREO_HOME%\text\java\pfc.jar src\jlink\Launcher.java -d dist
cd C:\jlink-first-master\dist
C:\jlink-first-master\dist
>
%CREO_HOME%\..\..\Parametric\bin\parametric.bat
I am using cmd to run above comments.I want to create a batch file .I did something but it can't solve my issue.
@echo off
SET
C
CREO_HOME
=
C:\Program Files\PTC\Creo 2.0\Common Files\M100
SET
JAVA_HOME
=
D
:\dev-tools\jdk1.7.0_45_amd64
SET
PATH
=
C
:\jlink-first-master
SET
OPATH
=%OPATH%;%CREO_HOME%;%CREO_HOME%;%PATH%;
SET "%JAVA_HOME%\bin\javac -cp %CREO_HOME%\text\java\pfc.jar src\jlink\Launcher.java -d dist"
call %CREO_HOME%\..\..\Parametric\bin\parametric.bat
pause
Please help me to solve my issue?
Reply
Answers (
10
)
Dynamic Image Add in Email body
When i should USE HostingEnvironment.MapPath?