hi
i have a .bat file.
i have questions about it that i hope you explain them to me.
( i searched internet but i could not site that explain it to me) :
1) in first line is written :
@set PATH=%PATH%;%~dp0 what's path and what's %~dp0 ?
2) suppose ARUN is name of an executing progran.
whats the mining of the below line especially -patch and -o:
ARUN.exe -patch C:\myfiles\ -o license.txt
i run this in cmd(command prompt) as administrator. but the below error is shown:
The system cannot find the path specified.
Failed to load package info...
i lose 3 days. i tried many things and searched many in internet. but i couldn't solve the problem.
can guide me?
thanks
hi ac3mark
i read yesterday about the problem and reached approximately that problem is related to path variable and system path. but i don't know anything about it.is it different from the path that cmd is shown?
from my reading in yesterday, i think the change must be done in ( in win 10) system>environment variable> in path variable, but i don't know in below or up windows .
also i don't know what thing i must add and if i do false if my pc work again or not?
thenks very much for your answer
hi
suppose my bat file is in C:\modeltech64_10.7\win64
how can add the path? i write in cmd as set path=C:\modeltech64_10.7\win64 . is it's ok?
is restart of pc needed?
explenation: i added in cmd as above guide from you, but i did not restart pc. in cmd i wrote: path cmd shows the path which is five lines that contains several folder addresses as below:
- Posts
- 12936
- Registration date
- Monday June 3, 2013
- Status
- Moderator
- Last seen
- September 3, 2019
1342 -- Posts
- 3
- Registration date
- Tuesday March 12, 2019
- Status
- Member
- Last seen
- March 14, 2019
-i read yesterday about the problem and reached approximately that problem is related to path variable and system path. but i don't know anything about it.is it different from the path that cmd is shown?
from my reading in yesterday, i think the change must be done in ( in win 10) system>environment variable> in path variable, but i don't know in below or up windows .
also i don't know what thing i must add and if i do false if my pc work again or not?
thenks very much for your answer
- Posts
- 12936
- Registration date
- Monday June 3, 2013
- Status
- Moderator
- Last seen
- September 3, 2019
1342 -Set path=c:\somefolder\anotherfolder
Then the path will then be set.
- Posts
- 3
- Registration date
- Tuesday March 12, 2019
- Status
- Member
- Last seen
- March 14, 2019
-suppose my bat file is in C:\modeltech64_10.7\win64
how can add the path? i write in cmd as set path=C:\modeltech64_10.7\win64 . is it's ok?
is restart of pc needed?
explenation: i added in cmd as above guide from you, but i did not restart pc. in cmd i wrote: path
cmd shows the path which is five lines that contains several folder addresses as below:
PATH=C:\modeltech64_10.7\win64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Files\MATLAB\R2013b\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\PROGRA~1\Condusiv Technologies\Diskeeper\;C:\MentorGraphics;C:\modeltech64_10.7;C:\Users\safir rayaneh\AppData\Local\Microsoft\WindowsApps;C:\modeltech64_10.7\win64
when i open cmd the below line is represented:
C:\WINDOWS\system32>
thenks for your help
- Posts
- 12936
- Registration date
- Monday June 3, 2013
- Status
- Moderator
- Last seen
- September 3, 2019
1342 -