Run batch file from any location OR from any folder OR from any directory Tags: Windows 7 Last response: August 18, 2011 5:52 PM in Windows 7 Share rdxjam August 18, 2011 4:57:31 AM I have a batch file which is located at say C:\Batches. I would like to run this batch file from say D:\Works\FolderA. How to do it... Thanks More about : run batch file location folder directory fowang a b $ Windows 7 August 18, 2011 10:50:20 AM run it in command prompt m 0 l Stanley L August 18, 2011 11:42:03 AM rdxjam said:I have a batch file which is located at say C:\Batches. I would like to run this batch file from say D:\Works\FolderA. How to do it... Thanks Append C:\Batches in your environment variable path= and you then can run your batch file from anywhere. m 0 l Can't find your answer ? Ask ! Get the answer MRFS August 18, 2011 5:52:32 PM With XP/Pro, .bat files can be stored at: C:\WINDOWS\system32\ I don't know the comparable pathname under Windows 7, but I expect that a similar folder exists for all such Command Prompt commands. MRFS m 0 l Can't find your answer ? Ask ! Publish Related resources SolvedBatch file to mklink directory to multiple folders? Forum Run a Batch File Against All Files in a Folder Forum SolvedBatch File to copy directory with if statements Forum Batch file to copy job starter directory Forum removing a directory using a batch file Forum Creating Batch Script to Move Files to other directory Forum BAtch file to copy contents of folder created today to another folder without dos tree Forum Bluetooth Device location for batch file delete Forum Cannot Delete Folder or file on external Hard Drive, "file or directory is corrupt or unreadable" Forum Moving Downloads folder and program default save file location question Forum Moving a file from a Zip folder in an email to another location Forum Moving a file from a Zip folder in an email to another location Forum Help for writing batch file to rename files in a folder in particular pattern. Forum Batch file wont run Forum Folder in harddisk say file or directory is corrupted Forum run batch file elevated Forum Batch file to run updates Forum File or Directory C:$MFT is corrupt or unreadable. Run CHK.. Forum How to run a ms-dos batch file on windows xp Forum Finding Out When A User Account Batch File Was Run Forum More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !