All Questions
Tagged with batch windows-xp
72
questions
0
votes
1
answer
1k
views
Using START with a program name with spaces in a batch file [duplicate]
I'm currently working on a batch file in a Windows XP virtual machine to run two programs at once. Specifically an old game and the on-screen keyboard (because I can't use a keyboard remotely while ...
0
votes
2
answers
233
views
Custom Windows right-click command doesn't execute batch file as expected
I'm trying to create a custom right-click command which will move a file to a folder. I have a batch file called C:MyMove.bat with the following code:
@echo off
cls
move %1 "C:/My folder/"
...
1
vote
1
answer
107
views
Routinely Back Up Single Windows XP Folder to Network Drive
The company I'm at is using a piece of hardware running with a Windows XP program called OldXpProg. Looks to me like the program has hard-coded C:\OldXpProg... callouts throughout it (installs outside ...
1
vote
1
answer
872
views
How can i run a .exe-file with batch?
first off: i've been making batch-files before, but this time (i don't know how or why) I've got stuck with something simple. So I'm trying to make a program which starts a virtual disc and opens a ...
10
votes
2
answers
3k
views
Auto-Login Windows XP/Win-7 using a Batch File (or VB Script) stored in a Standard USB Pen Drive
Why I need this:
I have Pen Drive full of batch scrips and other diagnostic tools. I have 75 stand-alone (Not Networked) PCs 'mostly with Win-XP-Pro SP-2, in 2 Labs. I often need to login each PC ...
2
votes
2
answers
2k
views
Auto Shutdown, after giving cancel option to user
I would like to setup a script or a tool on some computers for automatic shutdown, at a given time, say late in the night, when users have left for the day (forgetting to shutdown the computer). It ...
-2
votes
1
answer
74
views
How to change DNS when VPN is down?
My DNS are on the other side of my VPN (operator peering). So web is unreachable if the VPN is down.
I need to change the DNS on each computers to public DNS (150 Windows computers from XP-SP1 to ...
-2
votes
2
answers
2k
views
How to stop every batch file opening as a process named cmd.exe as seen in task manager
This is very complicated. I'm developing a malicious batch file just to test myself. This will be done at the startup.
what I have is Three + Six (hidden) Batch Files. First file makes six other ...
1
vote
2
answers
5k
views
Export Windows XP event logs cmd
I need to export a specific Windows XP event log from the eventviewer to a ".txt" file.
My scenario is that the user programs a chkdsk to be execute on next reboot into a remote machine, and after ...
0
votes
1
answer
68
views
Automate set up and driver installs on Windows 7
I have to set up a large amount of PCs all with a fresh install of Windows 7 or XP, all with the same settings using the options in the control panel, and all with similar hardware drivers. The only ...
2
votes
2
answers
2k
views
MRenaming network interfaces based on index with WMIC and netsh with Batch
I have two Intel NIC's that I need to rename based on their index numbers, WMIC is nice in that it seems to always return index numbers in numerical order so we can take the output directly without ...
2
votes
1
answer
367
views
Batch Directory Name is too Long
This question was posed as an answer to this thread where running FOR loops in batch with UAC elevation code generates voluminous errors involving non-existent directories.
Here is a screenshot of ...
-1
votes
1
answer
87
views
Wrong environment Settings invoked in Commands
Getting wrong and extra pathnames in error messages using "For /D", "dir" and "if exist" commands when running the non-Powershell batch code to elevate UAC privileges code here. This has been noted at ...
4
votes
1
answer
2k
views
Prevent ConEMU from closing tab after last program exits
What I want is some way to click on ANY batch file from Explorer and see the output without writing a helper script to PAUSE it afterwards.
This is a question which seems likely to generate more OT ...
4
votes
2
answers
2k
views
Replacing certain word in text file using Batch file
I am trying to use a batch file to determine the currently installed drive letter and to replace a keyword in the ini file with the drive letter.
Basically the ini file contains:
[app]
dir=Drive\...