468,720 Members | 1,678 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,720 developers. It's quick & easy.

batch file

jamesd0142
469 256MB
Hi,

I have a batch file on a remote server. if i use remote desktop to connect to this server and run the batch file it runs as i would expect.

However i need to run this batch file from my local machine, using its mapped network drive (example: z:\apps\batchfile.bat)

When i run it from this location it does not run successfully.

Is it possible to run a batch file from a remote server from my machine as if i was running it from the server itself?

Or is there other ways to get round this problem?

Thanks James
Jan 16 '08 #1
2 1146
epots9
1,351 Expert 1GB
what does this batch file do? if it isn't too long can you post it? cuz i'm thinking that the paths may be incorrect.
Jan 16 '08 #2
jamesd0142
469 256MB
Hi,

Im affraid the paths are correct, it launches the batch file but runs it from my local machine, what i need is the batch file to run as if it where run from the server. Is this possible?

the batch file is small:
Expand|Select|Wrap|Line Numbers
  1. scstools -r inet:DATADISS1:8000 -un myusername-pw mypassword-file PasswordUpdate.txt > PasswordUpdate.log
  2.  
scstools is a program installed on the remote server.

cheers again.

James
Jan 16 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by SkySea | last post: by
6 posts views Thread by Charles Neitzel | last post: by
3 posts views Thread by emman_54 | last post: by
14 posts views Thread by =?Utf-8?B?R2lkaQ==?= | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Oskars | last post: by
9 posts views Thread by bryonone | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.