I'm working with a program that requires me to open a command-line window in the directory containing the some files. The issue I face is that Windows has since removed the option from the context menu top open CMD in a given location. I want to know how I can make a batch script run this option when executed in a given folder or location (i.e. where the script is located). I know I can run cmd
with this code:
%SystemRoot%\System32\cmd.exe pause
Using this script does not appear to function the same way. I should be getting some other information in the command window according to the documentation.
cd \windows
you might be able to use this in a shortcut or batch filestart c:\windows\system32\cmd.exe /k "cd \windows"
or just from a cmd prompt or a batch file docd \windows