PPRuNe Forums - View Single Post - Running a batch file under XP
View Single Post
Old 16th October 2005 | 14:50
  #10 (permalink)  
shuttlebus
 
Joined: Sep 2002
Posts: 129
Likes: 0
From: UK
Lurk R,

Are you running your batch file in the same folder as the files you are trying to modify?

From memory, XP runs batch files in the default user directory (usually C:\documents and settings\username

Two ways round this....

1) Run the batch file in the directory with the files you want to modify
2) Add a path= statement to the top of the batch file

i.e. path=c:\myfiles

I'll have a play with DOS at home later to see if this cures it.

Regards,

Shuttlebus

_____________________
Edited for spelling and emoticons... gurr!

Last edited by shuttlebus; 16th October 2005 at 19:04.
shuttlebus is offline