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: 151 - 175 of 1088
 
Hi Expert. We a Batch-File where we are calling many T-SQL Script. Example of the BATCH SET mySQLCMD=sqlcmd  -S .\SQLEXPRESS ..... %sqlcmd% -i script1.sql %sqlcmd% -i script2.sql %sql...
Hi, I'd like to establish a scheduled task that would restart our web server every Sunday at 3 am.  Unfortunately, it isn't self-explanatory how this is done in WIndows Server 2003.  Could so...
Hi All, We've had a few key employees leave our company, and i'm eager to disable there accounts.  However, i'm concerned they may be running either a service or schedulled task via their u...
When I set a task to run as per schedule in on Task Scheduler, it only runs when I am logged in at the time it is suppoed to run. It does not run whe I am logged out. It attempts to run but th...
I am having trouble with the SBS logon script running consistently. Sometimes it will map the network drives and sometimes it won't unless the user logs off and logs back on again...sometimes ...
Hi there.  I am trying to change the owner of my users SUBFOLDERS.... I have changed the parent folders sucessfully using a batch file that calls SubInACL /FILE but this has only changed the t...
I need to add the file size into the name of a file via a dos command. The file is currently named this: paidtest.20080806.11269 that is: name.date.recordcount The size of the file ...
I am currently using straight FTP with a batch file to upload files. The existing batch file is shown here followed by the text file being called: Batch file: ftp.exe -n -s:C:\folder\subfo...
I would like to create a batch file to launch a website and then login with hard coded username and password.
Computer is a member server running Windows 2003 SVR in an Windows SBS domain. I have scheduled a simple batch file to run in Windows Schedule Task using the domain\administrator account. Th...
I want to unshare a network drive using "net share <fn> /delete", but if files are in use, the utility queries the user "others are using this share, do you really want to..." etc. I want to s...
Our remote laptop users are using Checkpoint VPN connection on Vista to update their group policies with gpupdate command. Because connection is often slow and there are many policy changes th...
Can anyone explain why line 22 in the code snippet below seems to produce this error? The system cannot find the drive specified. Replacing the double colons with REM or moving line 22 b...
We are in the process of upgrading to Bindview PSS DirectLogin 8.0 to 700+ (XP) machines in our Domain. I need to push out this upgrade. In my research, it seems that I have to "uninstall" the...
I am old.  When I got into computers, we called them DOS Batch Files.  Nowadays they apparently call them many other things like "scripts" and "command files", etc.   Here's what I want to ...
Hello everyone. I am having a problem on windows 2008 where i schedule a task for a one-time reboot after installing windows updates but its not working.  I cant find no instructions for 20...
Hi, I am looking for a script which will find all of the character ' and append it with a CR/LF, so after each ' a CR/LF is inserted. I want to be able to right click on the file and cli...
I need a script to do the following: I want to create a text file by taking the output of a DOS (?) process and piping it to a file: autoruns -a -c > D:\AutorunsSnapshot xxxxxxxxxxxx.txt...
I need to be able to run the command ipconfig /flushdns remotely on all the client machines i saw the article http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22549410.h...
I have a batch file Batch.bat that I am trying to launch at fixed intervals through Task Scheduler. The batch file shall be run everyday at 16.30. The batch file is run on a Windows 2003 Ser...
Every time I run the simple batch file below I get the following error : The process tried to write to a nonexistent pipe. ..how can I solve this ? @ECHO OFF ::pinger PING www.google....
Creating a batch file (DOS / Win cmd)  to move files from one directory to another.   The batch file needs to be able to limit the number of files moved by a count.  For example, when I run th...
Hello, looking for a solution to this problem: Here's the simple script: ftp open ftp.mysite.com inandout@mysite.com ******* put "%COMPUTERNAME%12.txt" put "%COMPUTERNAME%123.txt" pu...
We have an IP printer connected to our network (e.g. a printer with a network cable). The printer is added to each computer as a local printer and a tcp/ip port is setup to print to it. The pr...
This is really stumping me. I'm trying to write a simple script for use with Windows Server 2003 machines throughout my network (~100). It's supposed to read in an IP from a text file, log in ...