Wait for the command, wait, batch, cmd file file, .bat, .cmd

Hello, I am new on the BACK and script. I'm making a batch file or a .cmd file that run several files setup.exe, one after the other. The problem I have is that I can only find ways to delay based on TIME, rather than delay has not completed the first instance of setup.exe to start the following. Is there a command of the will that it is for me to run the first and then, once it is installed, run the second. The reason I need this works like this is that the second .exe does not work if one has not already been done. Thanks to you all.

Please check on the Scripting Site at: http://technet.microsoft.com/en-us/scriptcenter/default.aspx where they offer a lot to help you create scripts, including a forum where you can post questions to people who are also specialists in scripts.  We do not cover this topic in the Forums of Windows answers.

Good luck!

Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Tags: Windows

Similar Questions

  • How to set property of the command shell (batch) script file comment?

    How a shell script (file "beats") adjustable the comment of a file?

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    https://social.technet.Microsoft.com/forums/scriptcenter/en-us/home?Forum=iTCG

  • Can I put the exact zoom for the command Cmd-0 level?

    Just for the moment, a short Cmd - 0 touch sets my document about 79% window. I want to get 75% without manual change this value each time after using the short key.

    Is this possible?

    Try to reverse the order

    app.activeWindow.zoomPercentage = 75;

    app.layoutWindows [0] return (ZoomOptions.FIT_SPREAD);

  • Can I use other Adobe ID instead of the Adobe ID, used for the command to install and activate the Photoshop CS6?

    Can I use other Adobe ID instead of the Adobe ID, used for the command to install and activate the Photoshop CS6?

    Thank you

    Only ID authorized to use the software is the ID of the software license.

    Transfer an Adobe product license

  • When I import my .wav and my .m2V files still accepts the .wav file but does not load the .m2V file.  I created movie DVD 5 discs - still accepted the .wav and for the four remaining groups .m2V files and created 4 DVD discs for

    When I import my .wav and my .m2V files still accepts the .wav file but does not load the .m2V file. I created movie DVD 5 discs - still accepted the .wav and for the four remaining groups .m2V files and created 4 DVD discs for these files. What can I do to be free from this error?

    OSstatus = error-37

    Note that this a Mac operating system error.

    http://forums.CreativeCOW.NET/thread/145/865447

    Error when importing the file: slash or other character in file name

    http://forums.Adobe.com/message/3729601

    The build error: slash or other character in file name

    http://forums.CreativeCOW.NET/thread/145/868994

    The build error: complete startup disk

  • Why read the session waits for the command of logfile (checkpoint incomplete)?

    Hello

    I session which States only, or better to say, I think he reads alone (I think the waiting list of events). There is full expectation of events for this session. I do not understand why this session expected to wait to log file switch (checkpoint incomplete) event. Can someone explain it to me?
    {noformat}
    EVENT                                  TIME_WAITED
    db file sequential read                    441014
    db file scattered read                     261929
    SQL*Net message from client                194635
    log file switch (checkpoint incomplete)    173310
    SQL*Net more data to client                 58938
    log file switch completion                 17146
    direct path read                             2267
    log buffer space                              373
    SQL*Net message to client                     311
    log file sync                                   114
    events in waitclass Other                      46
    latch: shared pool                             21
    SQL*Net more data from client                  20
    SQL*Net break/reset to client                   6
    buffer busy waits                               0
    undo segment extension                          0
    latch: cache buffers chains                     0
    {noformat}
    Thank you

    Jakub.

    Blocks of database entries are by DBWR, not dedicated server process: so if a session database issues some write actions that they cannot be declared with corresponding wait events in the user database session, but you will see waiting for associated events to make journal entries because database session must either wait to VALIDATE the execution returns (redo written log is made by LGWR and not by dedicated server process) or the order of log file (also made by LGWR).

    You can see sort in http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/process.htm#BABHJDHD
    and in the complete picture and great http://landingpad.oracle.com/webapps/dialogue/ns/dlgwelcome.jsp?p_ext=Y&p_dlg_id=9575302&src=7027600&Act=54.

    Edited by: P. Forstmann on 19 Jan. 2011 17:36

  • 'For' the command line in the file Tab does not work in Task Scheduler

    I am able to do my work of script .bat with 'echo' and 'set' command in the file lines beats using raykor suggestion to put the .bat file in program/script and put the path in the field "start in". However, 'for' command line stops all other lines in order to run.  Please see the below script. Please help how to do the command line 'for' to work. I need to add the date and time for the name of the file/folder to keep track of a copy of the file on each day. This script works perfectly when I run a line by line at a time on the CMD command prompt. He copied the files and folders and gave me the date and time and concatenated to the name of the file/folder. The first 2 lines do not work. If I delete the first 2 lines, it works fine.

    for /f "Tokens = 1, 2, 3, 4 * Delims = /" %i IN ('date/t'), set dt = %i %k %%j
    for /f "Tokens = 1, 2 *" %i in (' / time t ") set tm = - %i %j
    Set tm = % tm: =-%
    set the TNT = % dt % % tm
    echo copy backup set: % of DTT.
    ECHO please wait...
    Robocopy s:\data2 d:\testBackup\data2 /e /mir /np /tee /log:"c:\users\myusername\desktop\backup_log.txt.
    echo of finishing.

    Hello

    I apologize for the delay in responding to this post.

    The query is better suited in the following TechNet Forum, asking to view the query to get a solution to this problem.

    http://social.technet.Microsoft.com/forums/en-us/home?Forum=iTCG

  • Need help to remove the files of the United Nations necessary for the command line

    Original title: DELETING FILES

    I have a large amount of support .png files that have been placed on my C:\ drive, by some malicious programs or the system.  Whatever it is, I want to remove them because they take a disproportionate amount of space (about 25 GB to an indicative value).  They are in a sub-sub-sub etc directory and appear to be copies of random images as advertisements for computers, cars, soccer players and goodness knows what else, since every time I try to see, explore stops at halfway through, due to the large amount of files.

    So my question is: is there a way to delete these files without the help of Windows Explorer, for example by using a command line? or is there another utility of file management that I could use?

    I would appreciate help on this.

    Start > type CMD

    Right click on CMD and select run as administrator

    You type the command DEl as written in the link I mentioned earlier.  Just make sure that you type the location of the file and names as you see them on your system.

    This is another article about the MS BACK Del command

    http://www.computerhope.com/delhlp.htm

    Edit: This may be temporary files from Web pages, that you have seen.  Try this before you use the DEL command.

    Tools > Internet Options > general tab

    Click on delete

    Uncheck data Preserve favorite

    Check all the other available options

    Click on delete

    Windows will remove these temporary files

    Click Ok

    Then, go to start > my computer

    Select the C drive

    In search type *.tmp

    This is more temporary files stored on the computer

    Press Ctrl + A to select

    Press DELETE to remove all the

    You may receive a message file is in use, press on ignore

    Empty folder cookies as well - C:\Users\username\cookies

    Do not delete the file; all content

    I forgot to add.  Once you type the command del, press ENTER to execute it.

  • Automated ' Save as ' Option for the treatment of batch files?

    Hi all

    I use a batch process to watermark all my images coming out on my site Web etc and social networks.

    I ran this process in PS CS6 and this would automatically save the files with predefined file (save as .jpg) as planned options. I would not intervene at all, just let it run in the background. However after the 2015.5 of CC PS, it is prompting me to "save under" after that each individual picture is a watermark. Is not really viable as I can sometimes be the treatment of hundreds of photos at once. I save the picture watermark to a new location and do not want to use the names of existing files, I do not know I do something wrong, but I don't particularly want to do a new action to save to a new location for each specific set of photo, I'll take. Any suggestions?

    -Roger

    Simply record the action for the watermark in your image with no. save step.  Then use the Image or the Image Processor plugin Pro processor script.  Set the script to save as many image files and file types that you need size and save where you want and have the script includes your action processing of image files from source to watermark your images...

  • How to get connected through the recovery environment for the command prompt administrator privileges?

    Original title: how to make the command prompt as Administrator via dvd, USB system recovery / then to repair, recovery environment invites of commands in menu on win vista, win 7, win 8?

    Hello world?, please can someone tell me how do the command prompt as Administrator via/via menu environment of recovery with the option prompt orders..., that way I can activate the hidden administrator because I forgot my password of the computer... rather than editing the registry with the cmd... It says on the top of the command prompt x administrator cmd prompt and on the guest herself said x source then the guest... I thought that I can activate the admin hidden here coz he said administrator on the top of the program but it won't let me activate the admin hidden using this command: "net user administrator / Active. ": Yes" he says: successfully completed, but after I rebooted the computer the hidden admin did not appear on the menu of connection of users, I can activate the admin hidden with this command. "net user administrator / Active: Yes" through connection to a normal startup, then proceed to the command prompt with administrator previledge, but not through, dvd environment then recovery recovery menu system, the command line option... is one way or shortcut to the command prompt with admin previledge as the high cmd prompt the normal start standard? Please please help... I want to do coz I forgot my password for admin user computer, there is no other user account on the computer... "Please help, guru of the computer/engineers/programmers out there," and I thank you so much all the response I get, and God bless the guy more... «what I wanted to say that I can make the order: "net user administrator / Active: Yes" in the connection of nomal startup is coz I tried on another computer with windows vista 64 bit...» "but I forgot my computer password... I know how to edit the registry, although to allow the hidden via the recovery environment option administrator cmd menu but I want the shortcut... thank you once again,

    Hi Robert,.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/en-us/itprovistasecurity/threads

    Hope this information helps.

  • Add the menu item for the sequence of batch processing?

    Hello

    I created a folder level script that runs at startup of Acrobat. The script adds a menu item, that when clicked, calls another function.

    I wonder if I can create a batch sequence and add a menu item for that also? I mainly want to avoid going through the whole advanced-> processing statement->... Processing batch-> find the command sequence, and then click Run.

    I've seen a lot of examples for adding menu items that call the folder level scripts, but nothing about batch sequences. Has anyone already done this?

    Thanks in advance!

    You cannot create an element of a sequence of commands menu. Nearest you

    can get is to open the batch sequences window, using the execMenuItem()

    method and "BatchEdit" as the name of the command (I'm not sure that it is still

    the same in Acrobat X).

  • Request for assistance for the superposition of batch

    Hello

    I'm very new to Photoshop and have tried to do it myself for hours without result. What I'm in train/wanting to do is batch overlay a file of 700 + images on a single image of 260 x 300. The folder containing the photos I want to overlay contains 700 + images, all 251 266 x which must exactly match the empty/transparent space in the 'lid' and then saved in a different folder than the original images. This is the main 'background', followed by one of the images in the folder to 700 + images, and then finally I want the end result looks like. As is, I can do it with a single image but cannot for the life of figure me out how to batch all the images in the folder on the single "background."

    Any help would be GREATLY appreciated. A script pre-made or a droplet would be also welcome.

    PS3_CASE.PNGBCAS20005.PNGFINAL.PNG

    From what I understand, you need to make a copy of your file containing 700 + images.

    but the new folder should have the images ended with the image of cover ("in the background".

    To do this, you must create an Action.

    I know there are a lot of steps, but they are very easy to follow...

    Backup your original filesand work on a copy - just in case you replace the images by mistake.

    I recommend you print the steps to avoid unnecessary clicks in photoshop while trading

    between photoshop and your browser to see what's next on the list in step.

    Follow my steps carefully

    To create the Action that will do the task, follow the steps:

    1. open the image of the background (case)

    2. press on "Ctrl + A" (select the entire image of the background)

    3. press "Ctrl + C" (to copy it to the Clipboard)

    4. press "Ctrl + W" (to close the background image)

    5. open one of the 700 + images

    6 start recording of the Action (Palette Actions open by pressing "Alt + F9"-> Select 2' nd the right icon on the bottom of the range of the Action "New Action")

    7 name your action, and then click the Save"" button.

    8. now select the Photoshop main menu: Image-> canvas size

    9. Select "Parent".

    10. Enter '8' in the height box

    11 Select the "UP ARROW" in anchor

    12. click on 'OK '.

    13 image-> canvas size

    14. "next of kin" should be already selected

    15 field and enter "27" height

    16. Select the "arrow down" in anchor

    17. click on "OK".

    18 image-> canvas size

    19. "next of kin" should be already selected

    20 enter "9" in the width box

    21 select the "arrow pointing to the LEFT" at anchor

    22. click on 'OK '.

    23 hit: "Ctrl + V" (paste the contents of the Clipboard)

    24 hit: 'Ctrl + E' (merge the pasted layer)

    25 hit: "Ctrl + Shift + S" or "Ctrl + Shift + Alt + S" (record or save for web)

    26 set the parameters of export as folder where it should be stored, etc. image compression

    27. click on "Save".

    28 hit: "Ctrl + W" (this should initiate the image - that one of the 700 + closing)

    29. If the message appears asking you if you want to save the changes to the images, choose 'no '.

    30. click "stop"button in the palette of the Action (first icon from the left at the bottom of the range of the Action)

    31 remove the image that has been created

    32 file-> Automate-> batch (back to the main menu of Photoshop)

    33 select the name of the action you just created in the menu drop-down

    34. in Source, select 'folder '.

    35. click on the 'Choose' button and navigate to the folder where you store these 700 + images

    36. click on 'OK '.

    37 take advantage of

  • What is the substitute in Windows XP for the command "netsh wlan set hostdenetwork mod = enable...". "in Windows 7?

    It seems that the command "netsh wlan set hostednetwork mod = enable...". "in widows 7 do not leave in windows xp. Is any other breed cannot as a substitute for the purpose of putting a wlan host in Windows XP?

    Hello

    The question you posted would be better suited to the Technet community. Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

  • Provide read permissions to others for the weblogic/Managed Server log files

    Hello

    We want to give read access to others under linux for all the oracle weblogic logs including the journal .out file.

    We put 022 startweblogic.sh file. Set-aside are the output

    ----

    -rw - r - r-. 1 oracle oinstall 81586 Apr 15 22:43 access.log

    -rw - r - r-. 1 oracle oinstall 700087 Apr 15 22:45 DEV_Managed.log

    -rw - r-. 1 oracle oinstall 20553 Apr 15 22:49 DEV_Managed.out

    ----

    The only concern is its setting read other for access.log and DEV_Maanged.log but not for the log file of DEV_Managed.out

    Please suggest what file to edit.

    Thank you

    Mireille

    Hello

    Try to also change the umask 022 startNodeManager.sh file, and then restart nodemanager, then the managed server (to rotate the log .out file and create a new using the new umask)

    Kind regards

    White

  • How can I add the Raw for the Canon EOS Rebel T6s file 5 Lightroom

    You want to know if there is a way to add the RAW file for the new Canon EOS Rebel T6s format to my desktop Mac version 5 of Lightroom.  All I found was the plugin cameraRaw 9 for Lightroom 6 that takes in charge of my camera. This does not work after that I have download and run the installation

    Thank you

    You will need to convert RAW to DNG for use in LR 5. Or you can go to LR 6. CameraRaw plugin is not relevant to LR. This is for Photoshop.

  • SSD for the Scratch, Cache and swap file?

    Certainly, startup disk and RAID3 9-drive (7K 3000) the map of Areca-16. HDDs but... I was wondering, as I refine my construction, on the use of SSDS Strath, Cache and the pagefile.

    It seems to me that constant random access to these files (small for most), could be somewhat competing for overall throughput (they have been configured on the RAID3 alongside media and project). In an ideal configuration, it would be a practical or advantageous to have 2 x SATA3 SSDs RAID0 for Cache, the Scratch and the pagefile? (and whatever else reconstructible temporary structures). In addition, in order to move the traffic far form the Areaca PCIe lanes, would it be more effective to RAID0 on SATA3s to the mobo? What would be the ideal size for these disks (min and max)?  2 x 60GB would do? Or 2x120GB? More?

    I have also heard that, because of the nature of the scratch and cache, it would be better to have them on two separate drives? Or is it just an urban legend?

    Frederic,

    Bays of drive and the system configuration questions are good, but if I or someone had to answer us would be influenced by our own test files, projects, we have worked on, controller CPU, RAM, the card (or the lack of) and much more.

    Given that what you're building has several similarities to mine, I'll share some of my own conclusions. To the topic specific answers like "how many disks in a RAID before it's inconsequential", it depends on so many things you should probably stop asking questions like this, because it may depend on certain things - CODEC, number of layers, transitions, filters, etc..

    Things I'll comment based on similarities between the system you are creating and mine (X 58, 6-core CPU, 24 GB of RAM, controller Areca w / large cache (2 GB or more)):

    1 move the pagefile seems really make a big difference on my system. So therefore, I keep in my table of OS/programs.

    2. faster I ran used two large paintings with the projects, the media and all the files "scratch" on a table and "hide media" and released on the second. While the difference was not huge, the fastest result for PPBM5 comparative analysis was achieved but put 'media cache DB' on my OS/programs, which use SSDS.

    So, how do proceed you?

    1. load your operating system and programs on your disk boot or start table.

    2. set up your Areca and drives in RAID 0, load some concrete projects similar to what you'll be using this system for, and test. Run PPBM5 too, it's a very useful common denominator that can be used to modify your own system and do it before / after comparison of the changes you are trying. IMO, a drive of 9 or 10 RAID 3 or 5 (or 6 besides) works well enough for everything. [Readers here who have a big RAID 0 out of their motherboard, I don't know if this is true for you or not, my test was done with all the great paintings hanging on a controller from Areca]

    3. for answering your question about "Hard drives how much you" on your own system and with your own projects, simply repeat step #2 using a small RAID 0 array. Latest Areca SAS RAID controllers so fast, that I would say that you can count on very similar performance with a RAID 0 array with one less than road when you build the dos system to desired PARITY RAID; with the exception of RAID 6, of course, who would actually perform '2 disks' more small.

    4 configure your final bar selected with parity, load your projects and you're done!

    Another way, you can go forward? (Less time, less optimized, version case potentially filled with several discs, heat and energy than the 'optimal' generation) Note that I tested with a few large RAID 0 arrays that will be in my final build, and I use these disks for the storage of off-site backup.

    1 build your big array with PARITY from the outset.

    2. start to use the system and if it works well for you, you are finished.

    As for RAID 3, 5, 30 and more, I use my table of data for editing more video, so go with RAID 5 was a simple choice for me. That being said, it seems to me that in my system (using a large cache ARECA controller and drives of 1 TB 7200 32 MB cache) a player "a less" RAID 0 seems to work only about the same as a RAID 5, so I don't think that the ineffectiveness of the RAID 5 or RAID 3 for large files (aka video editing) may be noticeable.

    Kind regards

    Jim

Maybe you are looking for