I'll try to keep this short, without all the details of this batch file procedure.
OS: Windows XP Action: Scheduled Task (background, I can't find a way to run it in the foreground) Problem: files not created on mapped drive. When the batch file is ran directly, it works.
It does the following (or at least tries to):
- clean a directory: works
- create executables based on a substituted location We use the following to map a local folder to the K: drive:
subst K: /D
subst K: D:\Development\SVN
The executables are built from source code that is located on (for example) K:\Sources to K:\Executables.
This fails, for a reason I did not yet discover. As mentioned above, if the batch file is ran directly it doesn't fail. If I substitute K:\ by C:\Development\SVN the issues seem to be resolved but still, this doesn't solve the fact that I can't run it when using K:.
I hope anyone here has an idea, I tried Googling for a long time + scanning SO but to no avail.
Thanks in advance!