471,109 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,109 software developers and data experts.

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 1201
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.