• DSADD batch script

    Would anyone who has esperience with the DSADD batch script be able to help me with the basic steps of creating one? Would you have an example you could send me or know where I could download a good "template" version? I would greatly appreciate it.

    ConFlicker210 pointsBadges:
  • Script to delete old log files on Windows Server 2003

    Hi all, looking for a script or batch file that I can call from schedule tasks that will delete some older Symantec log files that keep filling up my C: drive. Any suggestion or pointers would be appreciated. Thanks in advance! Paul

    Pandub130 pointsBadges:
  • Delete x days of files Windows Server 2003 SP2

    I am trying to use ForFiles to delete files in a folder that contains files older than 30 days. I am using Windows 2003 server. This is what I'm getting on the DOS screen:C:temp>Windows 2003 u Forfiles 'Windows' is not recognized as an internal or external command, operable program or batch...

    Kwt712555 pointsBadges:
  • Batch file with keyboard commands

    I am trying to create a batch file that utilizes keyboard commands for a Macro on my computer, but I cannot figure out how. Any ideas would be appreciated. The command I am trying to run is alt+S.

    Jab81815 pointsBadges:
  • Delete x days files and folders

    I need help with a batch script that will delete 30 days old files from a folder automatically. I have read about forfiles and I am doing something wrong. I don't know where the file goes when I click on forfiles.exe. Anyways, if someone can help me with this, I would greatly appreciated it. Also,...

    Kwt712555 pointsBadges:
  • MS-DOS code to delete old Files

    I am using Windows XP and need to write a DOS batch (.bat) file that will delete old files from a directory. This will run on a schedule and will not require human interaction to input any data. My problem is, I am not good at writing batch files. I can do the basic 101 type stuff, but finding...

    jutpro480 pointsBadges:
  • Batch file for remote shutdown of Windows Server 2003

    Hi, I want to make a batch file and remotely shutdown a Windows 2003 Server. Is it possible?

    ninjas180 pointsBadges:
  • Add to Favorites in Internet Explorer with batch file

    I want to add an URL link to Internet Explorer by using batch commands in a batch file. For example, I want to add following link, ITKnowledgeExchange, using batch commands. Thanks!

    Shkimran5 pointsBadges:
  • Automating a Remote desktop connection

    I have written a batch file that part of its function is to initiate a remote desktop connection with another computer on the network. When the batch file gets to the remote connection command, the remote connect window appears and I have to press the "connect" button for the process to continue....

    Flame14,925 pointsBadges:
  • Batch file to create users and groups

    How do I create a set of scripts that can use any text file to create new groups and users and assign the users to the correct groups? Full names and user names must be set for the users. Also, where could I find a good reference site for commands that I may use to create batch files of my own? I'm...

    EricGagne40 pointsBadges:
  • Send email w/attachment from Command Prompt via batch file

    Most users at my organization have all of the utilities to keep their computer running smoothly, but fail to use them on a regular basis if ever. I have written a few batch files which execute all of these programs, clean this, clean that, defragment, and so on and so forth. Each time the file...

    Schmidtw11,330 pointsBadges:
  • Running a VBScript from a batch file

    Hi, I have a VB script that I want ran from a batch file. How do I go about this? See the VBscript below:Dim oFS : Set oFS = CreateObject( "Scripting.FileSystemObject" ) Dim sSrcDir : sSrcDir = "//serverNameFBSurvey" ' Source directory (remote server) Dim sDstDir : sDstDir = "c:SampleDir" & ""...

    Waizkode5 pointsBadges:
  • Create a batch file to connect to a network drive

    How do I transfer a file to a shared network drive through a batch file?

    Ylew5 pointsBadges:
  • Batch file to disable or enable network adapter

    Dear all, Is there anyone that knows how to write a batch file to enable / disable local area connection just by 1 click on the batch file? Thank you so much...

    Powerofnetworking45 pointsBadges:
  • Log file copy time

    Is it possible to log how long it takes for a file to copy from one location to another? I am using Windows and wanted to output to a text file how long a file transfer took. Can anyone help with this process?

    ConFlicker210 pointsBadges:
  • For Do rename loop

    Would anyone know of a createive way to change the following to represent a "do ren" loop and cleanup some of the un-needed syntax? for /f "tokens=1-9 delims=/ " %%d in ("%date%") do ren "A B C *.xlsx" "A B C %%e %%f %%g.xlsx" for /f "tokens=1-9 delims=/ " %%d in ("%date%") do ren "D E F *.xlsx" "D...

    ConFlicker210 pointsBadges:
  • Delete contents of a folder tree with a kill statement

    Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location.  I am looking to schedule the empting of temp folders and would like it to be all inclusive.  If a kill statement is needed also to force delete folders and there content...

    ConFlicker210 pointsBadges:
  • Generating Windows events from the event log

    Can I generate windows events that appear in the event log from scripts or batch files. For example from an Windows XP system call scripts that ping remote servers and on failure generate a event.

    ITKE342,450 pointsBadges:
  • Send email w/attachment via batch file

    I would like to be able to set up a scheduled task to call up batch file that would send out an email at a given time of day including an attachment. The question is if anyone would know of a simple way to accomplish this task and what I may need to make it work?

    ConFlicker210 pointsBadges:
  • How to change compatibility options for an exe file in a batch file on Windows 7?

    Is there a way to change the compatibility options on an executable file in a batch file? I'd like to be able to set it to run as "xp sp2" or run as administrator. Is there a way to do that?

    Ingram871,285 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following