July 22, 2015 at 6:26 am
Hi all,
So I got the following example below to try to help me get these files copied from one location to another. The example was:
NET USE \\RemoteServerName\IPC$ /u:server\user *password*
robocopy \\Source\ \\RemoteServerName\DestinationDir\ /XD * /Z /MIR /LOG+:c:\temp\log.log
NET USE \\RemoteServerName\IPC$ /D
My code:
NET USE \\Thomas-02\IPC$ /u:server\thomas *#4scien*
robocopy \\workserver\jonathan_test\ \\Thomas-02\import\ /XD * /Z /MIR /LOG+:c:\temp\log.log
NET USE \\Thomas-02\IPC$ /D
Still not working. Any ideas??? does the RemoteServerName need to be an IP address? Please help.
July 22, 2015 at 10:36 am
jonathanm 4432 (7/22/2015)
Hi all,So I got the following example below to try to help me get these files copied from one location to another. The example was:
NET USE \\RemoteServerName\IPC$ /u:server\user *password*
robocopy \\Source\ \\RemoteServerName\DestinationDir\ /XD * /Z /MIR /LOG+:c:\temp\log.log
NET USE \\RemoteServerName\IPC$ /D
My code:
NET USE \\Thomas-02\IPC$ /u:server\thomas *#4scien*
robocopy \\workserver\jonathan_test\ \\Thomas-02\import\ /XD * /Z /MIR /LOG+:c:\temp\log.log
NET USE \\Thomas-02\IPC$ /D
Still not working. Any ideas??? does the RemoteServerName need to be an IP address? Please help.
What, exactly, DOES take place when you run those commands? Just saying "it's not working" doesn't really provide much to work with. Also, I just noticed that your code uses the word "server" instead of something that's more like an actual domain name. I have to assume you're using a domain based id, but if it's a local id on the remote server, then that's fine, but I have no way to know if you were just abstracting the actual server name for security's sake. Given the fact that you provided what looks like a real password, I could make an assumption, but will choose not to. If that's your actual code, and you are operating in a domain environment, then you need the domain name and not the server name...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
July 23, 2015 at 2:58 pm
don't include the *'s if they aren't part of your password LOL
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply