I Need a script in wsh to delete files older than a certain date from a specific directory.
i have more than 1000 machines which are not a part of the AD, i need to rename all the computers and join to the domain using a script, i already have a script which helps me to join the doma...
hi, i'm trying to write a script to automatically remove a machine from the domain, rename it, change the ip adress, sid... and then re-join the domain
everything works fine, the only probl...
I would like to be able to add/edit the "DNS suffix for this connection" entry. I have terminals with Windows XP in a Non-DHCP environment. I would like to utilize SMS/Radia software to dist...
I have been using a batch file to determine yesterday's date in yyyymmdd format, then copy a file from one location to another. It works everywhere I've used it, until now. At one particular s...
Hi,
I would like to be able to lauch the following link in full screen from a batch file.
http://www.cnn.com/video/live/live.html?stream=stream1
I have a computer connected to a 42" monitor...
Hi,
I've searched around and found a few solutions for my problem using VBS, but I'd really like to avoid using that method if possible.
I need to remove a pile of separate registry keys...
Hi I need to write a modular batch script where it will be maintained later more easily.
I want a way to define variables at top for stuff like path name or constants. Is this possible? Or ...
I am in need of a command or two to do the following: I have a single zipped archive (It's actually a .001 file) that I am going to use 7zip command line (7za.exe) to extract to a directory, ...
Hi all,
I have to migrate around 65 users from Outlook 2003 to Outlook 2007 on all new systems. Is there a way that this process can be done automatically using a script file that could re...
Hi,
I am writing a batch file to get the drive name where i have connected the USB drive.
usbLetters.txt has D through Z on each line
@echo off
FOR /F %%g IN (USBLetters.txt) DO ( echo %...
Shift-1 helped me this code.
I would like to add the date rather than a just adding a 1 to the file name
@echo off
setlocal
set folder=C:\myfolder
for /F "tokens=*" %%G in ('dir "...
How do I copy a file into a profile folder that has a random name? It's a firefox profile folder, I want to replace the prefs.js file to set the home page using a batch login script.
Hello
i created a script to replace empty spaces for an -
i have tested it and it worked fine till i placed it for testing on a remote server
where i got an error with UNC Paths
i have...
I need to create and schedule a script that runs on db server on windows plateform which runs certain sql-creates a output and then send the output to ftp site. If someone has worked on somthi...
I need to fix this code (or create a new one) to read the file sizes of all files in a folder and copy files over a specified size to another folder. So far I've gotten what's below, which wil...
Is there a batch file out there that I can have to move a file to another server and then copy the file from one server to another? the batch file will have to be giving active directory permi...
Hi,
I have the following batch command
copy C:\automation\installer\output\Package\install.exe %date%.exe
for some reason, it likes to add a space after my variable when interpreted, so i...
I have a batch file which copies files from the server to a workstation every morning. The batch file sends me an Email upon completion.
What I wish to do is include the copy results in the ...
Hi Experts,
I need a way of syncing with an NTP server upon Windows startup.
Is there a dos command that will fetch time from an NTP server so i can >> it to 'time' to set time = result....
I need a batch file that looks in the parent directory for a folder that is listed in the batch file. In that folder i need to delete all files except for the ones i list in the batch file. Fo...
OK, we have windows server 2003 for server and XP for clients.
There is a program installed on the XP machines that uses a file that has to be replaced every 3 months or so for an updated v...
What I am trying to do is create a .reg file that makes one modification to a program we are using on my network. THe problem is that htis settings is under HKEY_USERS\<Current User's SID here...
Dear Experts:
I need to write a batch file that can install ODBC connections (to Oracle database) on client's computer.
After googling I noticed that a usual way needs to explici...
I am looking for batch file or script to shutdown Microsoft Exchange services from another server or desktop. Currenlty I have a batch file:
NET STOP "Microsoft Exchange System Attendant" ...