• How to see the records of a PF which are updated in batch job

    In a batch job, a PF will be created in QTEMP library, and the values are inserted into that PF by an RPGLE program. My doubt is...is there any way to see the contents of that file while the batch job is running?

    dinuas400510 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:
  • How do you write a batch file to wake up on LAN and remove and replace file

    I am setting up a local network to update 20 computers with a file every week. I need help to write a batch file to wake up on LAN and remove and replace the old file (I can put the file any where on c:\ drive) with the new one. I ordered and received a network ready cart that holds all 20 laptops...

    Indybrass5 pointsBadges:
  • DTF to Excel in Batch file

    I have a Batch file (run from icon on desktop) that is running an IBM DTF to and Excel spreadsheet (file type: ASCII TEXT, translate data: ASCII) and then I use start excel.exe and it opens my spreadsheet with the data. PROBLEM: How can I format the spreadsheet with headers and column fonts and...

    Slmutone10 pointsBadges:
  • How to extract a single word in a text file using a batch command.

    I am trying to extract a single word from a file using a batch file. Now i know the findstr command will export the entire string, but i am just look to export a specific word from that string. I have been search for the past 2 days with no luck. The file contains the following lines and i would...

    JmeloC25 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.

    ITKE352,580 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:
  • Filename from SQL 2005 Query

    I have a batch file that runs a SQL query command overnight once a week and outputs the results of that query to a file as a .csv file. The query produces, amongst other things, a week ending date. Is it possible to to name the output file with result of the week ending column in the query. All...

    Apbarker5 pointsBadges:
  • Visual Basic scripting

    how can i run batch files using vb scripting

    W125 pointsBadges:
  • I am writing a batch file that will be run from a DVD to copy some necessary files to a location specified by the user.

    I am writing a batch file that will be run from a DVD to copy some necessary files to a location specified by the user. I have used switches to get Yes or No input in the past. How do I get a drive location from the user and then verify that on the current system so I can return an error echo?...

    Techy1984225 pointsBadges:
  • DOS Script Help

    I have the below DOS batch that checks the length of every file in the temp folder and display the file name(s) of any file with zero bytes. In addition, if there are no files in the directory the message “No Files in folder” will be displayed.

    jutpro480 pointsBadges:
  • Checking Email from Command Prompt

    I am aware of many applications that allow you to send email from the command line. My favorite is 'sendEmail' which I use in batch files and '.exe's' to retrieve logs and files from my client's computers when trouble shooting their software.  What I cannot find is a way to check email or receive...

    Techy1984225 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