Tagged Questions
1
vote
0answers
98 views
netsh suddenly stopped working - now cannot load IFMON.DLL
The following commands recently stopped working on my system
netsh interface ip add dns name="Wireless Network Connection" addr=8.8.4.4 index=1
netsh interface ip add dns name="Wireless Network ...
1
vote
1answer
119 views
Windows batch file or script to load exported Wi-Fi XML profiles onto a new laptop
This probably is as simple as reconfiguring the standard code used by MS for the same thing but .. I hope maybe someone has already done it.
You can easily export a Wi-Fi profile to a USB including ...
1
vote
1answer
297 views
Create a Batch file to backup and restore Network Printers for All Users
I have an XP machine with multiple profiles. These profiles sometimes have different printers mapped to each user. Example:
User A has network printer 1, 2 and 5 mapped. Printer 2 is default.
User B ...
0
votes
2answers
2k views
How do I shutdown a computer on my network?
I want to shutdown a computer on my network at home. When I try the usual 'shutdown' command, I get the 'Access denied (5)' message. In what way must my computer be connected with the other computer ...
1
vote
2answers
157 views
WinRAR cannot find network path
I'm trying to write a simple backup script using rar.exe, the command line binary shipped with WinRAR. I want to fetch an entire folder from a network location and add it to a rar-file on my desktop ...
1
vote
1answer
479 views
Script to assign and remove arbitrary secondary IPs to an interface
I'm trying to figure out how to write a script that will let me arbitrarily assign and remove a secondary IP address to a system. I'm most comfortable with batch scripting, so I'd rather focus on ...
0
votes
4answers
584 views
Copying files automatically from one place to another
I have silly question but, I would like to know how could I do the following with a .bat file or even know if it's possible.
I have a file that someone puts in a folder on a server which is not on my ...
1
vote
1answer
980 views
Trouble copying a folder from my computer to another network computer using ROBOCOPY
I am trying to write a batch file to copy all files and subfolders in a folder from my local machine to another machine on our network. I am trying to use the ROBOCOPY command and would like the ...
1
vote
1answer
2k views
Prompt for credentials in a batch script
I am trying to perform a network copy of files via a batch script. However, as usual there are some networks where the 'copy' command fails saying 'Bad username or password'.
And when I try using ...
0
votes
2answers
1k views
map to drive on server with bat file
I have a web server that I want to map a drive to it. I want to do this in a .bat file. Pseudo ->
Check if a drive at an ip address has been mapped to a local drive.
If it has then progress with a ...
2
votes
1answer
261 views
How to determine if file on another machine is being accessed
I would like to determine if a file on another computer (or network) is currently being accessed. Ideally, I want to perform this task in a batch file, but other methods of performing this feat is ...
0
votes
1answer
231 views
logging into network share
I am logging into a network share through a batch script to start a test
I can get the shared program logged in but then up comes the windows prompt "run" or "cancel". Not all of the machines have ...
0
votes
1answer
3k views
'Net Use' Command Works in Win 7 but not XP. Why?
I wrote a script to dynamically map drives for our users. The script it generates is a simple 'net use' command that looks like this:
net use * https://oursite.com/bobs_stuff
This works perfectly ...
6
votes
6answers
11k views
Enable/disable wireless interface in a bat file
Is there a way to enable/disable a wireless network interface via the command line (so I can put it in a bat file)?
When I'm in the office I use a wired connection, but Windows still occasionally ...
1
vote
2answers
3k views
Windows batch command to display all network connections?
What Windows (preferably XP) batch command will list all of the network connections that appear in the Network Connections dialog? I've tried RASDIAL, IPCONFIG, NETSTAT, and NET commands with various ...
2
votes
5answers
2k views
How to move a file to another PC on the network?
Here is what I am after.
I have 2 PCs connected on a network and one of them prints out an excel spreadsheet every night to a specific folder. is it possible to use a batch script to copy that file ...