Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Windows Batch Solutions: 51 - 75 of 1088
 
How can I use psexec to execute a DOS batch file ("name.bat") on a remote server from my XP PC?
I have a .bat file I want windows task scheduler to run, and I have no idea why it's not working.  It's set to kick off at 3:01 AM every day but never does.  I have other vb scripts scheduled ...
Hello, I need to copy inside of batch file to copy file image.jpg to image_20070908_1822.jpg using actual date and time. What is the best way to do it? Thank you!
I need a batch file to move text files from folder1 into folder2.  I want to create a new file called recfile2.txt and merge all txt files into that.  If recfile2.txt does not exist yet I need...
My company uses Active Directory with around 300 users and the way it was originally setup was each user has their own batch file that would run at startup, disconnect all network drives and r...
I am looking for a batch script or vb script which will open the following web page when run as a logon script. I have tried start http://www.surveymonkey.com/s.aspx?sm=fzy9f6G4DutpfNXaNrSQQg%...
I have a small Windows 2003 AD enviroment that has about 65 users. I just created a batch file to map some default network drives for users. I would like to either add to this script or create...
I am trying to run a script on about 30 computers at once, to install a network .msi file. I could distribute via Group Policy, but for a couple different reasons I have chosen not to. I have ...
Hey everyone, I have an INF file that I am installing using a command line, when the INF file is run Windows is currently prompting me if I want to overwrite target files that are older then s...
The temp directory on our webserver is building up very quickly to the point where there there is no disk space left. As a temporary measure while we track down the cause I have been looking i...
I have a Windows CMD script that I'm trying to expand.  The FOR statement functions perfectly.  But after that nothing else happens.  That last ECHO never shows up ... or any of the lines afte...
I basically just need to create a batch that creates a shortcut on the users quick launch bar. I have tested my code and it not working. I tried without the quotes, without parenthesis, other ...
Hi, I am trying to run a FOR /F loop with a PStools file PSLOGGEDON to find out who is logged onto PC's on the LAN. Here is my batch file: for /f %%A in (online.txt) do (psloggedon -l...
I would like to run an osql command inside a windows batch file.  My syntax is: osql -S Server -U user -P password -d database  -q "select generic_no from user_vi_barcodes" -o c:\temp\looku...
My batch file contains the following lines. It does not automatically close the command prompt after the job completes. The command prompt remains open. start "" "C:\Program Files\Java\jdk1...
Batch math is my weekness.  I have a small batch file below I'm trying to get to give me specific output.  The batch file is below.  The output I'm getting is below it.  The Output I WANT is b...
Here is an easy one... I need the command that will delete a directory and all the files and folders within in. I need for it not to ask if I am sure. So far I've got cd C:\DataUpdate\...
Experts- I have a batch file where I need help with delimiters/escape chars. CODE:    SET SVCNAME_LIST=(BT)Checker (BT)Search (BT)Import    for %%V in (%SVCNAME_LIST%) DO echo %%V E...
I want to run a program with a BATCH file and have it start in Minimized mode. This is what is in the BATCH file right now. Call "C:\Documents and Settings\USER\My Documents\Programs\Shortc...
I want to create a batch script to go from 2 monitors to 1 and vice versa and change the resolution.  Any thoughts?
Hi, I need to batch rename drawings files that have been plotted to pdf. I need to remove all characters after a space in the filename. eg: 3429M1103 3429-M-1103 (1).pdf should become 34...
I have the following structure : test     temp     subfolder1\sublfolder1_1\test.txt     subfolder2\subfolder2_1\test.txt     subfolder3\subfolder3_1\test.txt     subfolder4\subfolder4...
Hi, I am looking for a batch file to delete files older than X days I found one here: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_21887658.html By SteveGTR...
I'm trying to make a batch script that copies core files from my development website to my live website. I want to mirror it so if there are files that were deleted from my development site, I...
I want to run a batch file from java and have the program wait to continue executing until the batch file completes. I am writing a java application that runs a batch file. the batch file ...