Automation Batch Files

I just upgraded from CS5 to CS5 Extended version.  I had previously written a lot of actions for automating batch files and I would really like to avoid having to start over and recreate them all.
Are the actions I created stored in a folder someplace that I can simply move to the new CS5 Extended location and be recognized??
thanks

Yes.  However you should save them to one of your folders. For if you do not and your Photoshop preferences get reset you will loose all the actions you recorded. When you record an action they are recorded into your Photoshop perefences in a file named "Actions Palette.psp" however they are not safe for this file will be replaced with Adobe's defaults if your Photoshop Preferences are reset. You should always save Acrtions you record.  Highlite the Action Set your action is in and use the Actoins Palette fly-out menu and select save action.

Similar Messages

  • AUTOMATION OF IMPORTING USING BATCH FILES...!

    Hello Everyone!
    I want your help on this matter. Actually I am trying to get data( in the form of XML) from BI into MDM SP04.
    I want to automate the import process. i have saved the map and defined a port in the console and given the map name for the port.
    now i configured the INI file present in the import manager batch.
    I read somewhere that to run the importmanagerbatch.exe file i need to create a batch file having info about the INI file and then run the batch file which will execute the .EXE file.
    But after doing this still data is not cmg in the repository.
    Can anybody list me down all the required steps to automate importing. N can more than 1 map be taken care of in the console? or probably for every map we will have to create new ports for them?
    I am totally confused....... please help me out.
    Thanks and Regards.
    Nitin jain.

    Hi, Nitin,
    The Import Batch can handle any number of maps in one batch process. It does have a limitation that the batch ini file will only reference 1 import file. But that file can contain any number of records and different table data.
    I have used the Import Batch (only useable on Windows) for importing multiple check table data into the repository. In the dat file, I used the following code for each map. This is the code for the Partner Function.
    :: IMPORT MAPS
    cd "C:Program FilesSAP MDM 5.5Import Manager Batch"
    @echo . STARTED Map: "Partner Functions" %DATE% %TIME% >> "C:MDMImportReport.log"
    @echo Executing Map: Partner Functions
    ImportManagerBatch.exe /INI "C:MDMMdmImportCheckTables.ini" /CLIENTSYSTEM "R/3 4.7" /MAP "Partner Functions"
                /LANGUAGE "English [US]" >> "C:MDMImportReport.log"
    IF errorlevel 0 (echo . Completed successfully. >> "C:MDMImportReport.log")
               ELSE  (echo . FAILED with error code %errorlevel% >> "C:MDMImportReport.log")
    IF errorlevel 0 (echo Completed successfully - %TIME%) ELSE (echo FAILED with error code %errorlevel%)
    @echo . Ended Mapping: "Partner Functions" %DATE% %TIME% >> "C:MDMImportReport.log"
    @echo .   >> "C:MDMImportReport.log"
    I then repeated this code in the batch.dat file for each map used. In total I had 93 maps.
    Kristin

  • Batch file / SQLPLUS automation Error message

    All,
    I have a batch file process that runs my sql script in sqlplus. I have error handling / whenever statements in the sql script. I ran into an issue when the database admin accidently changed my directory path for one of my scripts. The script failed, however it did not send me an email. I want to get an email if the path name for the script is incorrects. When I run the batch file manually with an incorrect path, the process hangs. It logs into sqlplus. Once it cannot find the file, I can find a way to exit sqlplus and send a error code back to the batch file. Below is the batch file. I also want to be notified if I can't connect to the database or the login/password is incorrect. As long as the directory is fine and the tns names and database are fine the code runs. I just want to capture the error if it does not run. Can someone help me?
    Note: If file does not exist, I can capture the error. However, the batch file hangs. I want to go the the next step and email the content of the captured error.
    sqlplus command line:
    SQLPLUS -s xxxx/xxxx@database @C:\test_error\test_error.sql > C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt 2>&1
    Batch file:
    @ECHO on
    VERIFY ON
    SET SortDate=%date%
    :START_SQL
    SQLPLUS -s xxxx/xxxx@database @C:\test_error\test_error1.sql > C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt 2>&1
    IF %ERRORLEVEL% == 0 GOTO SQL_SUCESSFUL
    IF %ERRORLEVEL% NEQ 0 GOTO SQL_ERROR
    :SQL_ERROR
    echo "THE SQL SCRIPT FAILED!!!"
    c:\bmail -s 0.0.0 -t [email protected] -f [email protected] -h -a "THE SQL SCRIPT FAILED!!!" -m C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt -c
    GOTO END
    :SQL_SUCESSFUL
    ECHO "SQL WAS SUCESSFUL"
    c:\test_error\test_dribble_merger_perl.pl > C:\test_error\perl_logs\%SortDate%_PERL_ERROR.log 2>&1
    IF %ERRORLEVEL% == 0 GOTO PERL_COMPLETE
    IF %ERRORLEVEL% NEQ 0 GOTO PERL_ERROR
    GOTO End
    :PERL_ERROR
    echo "THE PERL SCRIPT FAILED!!!"
    c:\bmail -s 0.0.0 -t [email protected] -f [email protected] -h -a "THE PERL SCRIPT FAILED!!!" -m C:\test_error\perl_logs\%SortDate%_PERL_ERROR.log -c
    GOTO END
    :PERL_COMPLETE
    ECHO "PERL WAS SUCESSFUL. PROCESS COMPLETE"
    GOTO End
    :END
    Thanks,
    CC

    Hi Experts,
    I also have the same scenario.
    if i gave invalid tnsname it disconnects from the sqlplus connection but the output errorlevel is 0 which should be 1 as there was an error
    echo before %errorlevel% >>abc.txt
    (echo whenever oserror exit FAILURE
    ) | sqlplus scott/tiger@[email protected] >>abc.txt
    echo after %errorlevel% >>abc.txt
    if i give invalid tnsname also,
    For me after gives 0.
    which is not correct
    how to identify is the sqlplus returned without any error?

  • I want to create a "batch file" that will copy files from one folder into another, overwriting what is currently in there.

    I've got a game that has a folder with Saved Games (Okay, it's Minecraft). I don't always have my external drives because I take my Mac Mini from my house to my friend's house and of course back after we finish playing.
    There are times where I want a back up so that if something happens we can restore it as easily as possible.
    What I've been doing is copying the particular saved game and pasting it to my desktop, replacing the new backup over the old backup. I'd like to be able to create a "batch file" so that I can just double-click on it and it will copy and paste overwriting the old version.
    Since this is being automated I've been thinking. It would be nice to have 10 backups which I would like to have numbered from 1 to 10 (and not 0 to 9).
    I'd like the batch file to delete backup 10 then rename backup 9 to 10 and 8 to 9 and so forth until backup 1 becomes backup 2 and then my live copy then gets copied to my desktop. I guess that one really doesn't need a number after it. It can have the exact same name.
    Don't worry about automating the restore. I just want the backup part of it automated. I'm not a UNIX guy but I've tried to figure it out and it is just not working. So ... if someone out there can reply with a solution for me that would be great.
    Extra credit for automatically compressing the backups with the built in compression utility so my backups use less space.
    Thanks in advance.

    I have another psd (adjustment_layer.psd) file that only has one layer, and it is an adjustment layer. . 
    That is possible. An adjustment layer must be over a layer. The layer that it is over can have its visibility off but there needs to at least two layers in your (adjustment_layer.psd) file.  For you can not have and adjustment layer without a layer to adjust.
    Are all your PSD file the same in size  x px by y px at z DPI?
    It would be easy to create an action just to add the adjustment layer you want if your (adjustment_layer.psd) file adjustment layer, layer mask is a reveal all or hide all mask. You can Batch the action or use the Image processor script and have it include your action that add the adjustment layer  you do not need to write a script.
    I would also record that action to add the adjustment layer clipped to the layer below. There is a bug in CS4 and CS5 Action Player. Actions that have recorded adding adjustment layers to be applied to all layers below may play incorrectly.  You will have to pay to get a fix  for this bug for Adobe is not going to apply a fix the the current releases of Photoshop. The bug is so far slated to be fixed in CS6 time will tell.

  • Is it possible to create a batch file in Mac OS?

    In MS-DOS, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. It's very convenient and handy. Is it possible to do the same in Mac OS? I tried the automator of Mac OS and copied the workflow, but it is quite clumzy and painfully slow, and stops working afte a relaunch.

    Having come from a Apple ][ & DOS background, it took me a while to learn Automator. It's more graphical so some concepts took a "AHA!" moment. You don't mention what "stops working" but likely it's "just" a step that is missing from your workflow. For example, in one of my workflows, the "AHA!" was realizing I needed to specify a name by "Get Specified Finder Item" before I could work with it.
    Perhaps you'd be more comfortable with Applescript, especially if you've done any C or other programming language beyond batch files.
    If you're up for it, or if your needs are that complex, you could create shell scripts. In fact, my latest Automator work flow calls a shell script because it's actually the KeePass Windows executable run in Mono. I know I probably could have done the whole thing as a shell script, but Automator was easier and would have been simple if it wasn't for this one shell script.

  • Running a Batch File using Auto Scheduler in HFM?

    Hi,
    Can we execute a batch file or run a macro or execute a VB script using the auto scheduler in Task Automation in HFM??
    Abhishek
    Edited by: user10378700 on Sep 30, 2008 7:18 AM

    I'm having difficulty running a batch script the way you describe.
    One line of code in c:\test.bat:
    echo Hello >c:\test.log
    This works just fine.
    However, for the life of me I cannot get this to work through Task Automation.
    I have the Application as Hub.
    The Action as Execute.
    The Command as c:\test.bat.
    When I select the task and click on Run Now, I get a message that the taskflow has initiated successfully. However, nothing fires on the server. I cannot see this process in Running Tasks (it would run quickly).
    Any hints?
    I have not found this subject to be...overdocumented.
    Regards,
    Cameron Lackpour

  • Automated batch doesn't work in photoshop & from Bridge

    Hi all,
    Automated batch from  Bridge  tools>photoshop>batch  Photoshop cs5 stops working. Automated batch also doesn't work in photoshop. Automated actions work in Photoshop. All other Photoshop process work  from Bridge. I use a PC with windows. This happens even with files I was  previously able to do an automated batch with Photoshop. It doesn't  matter what the file extension is. This has only recently begun  happening for no apparent reason.

    First, given what you've written, it's important to ask:  48 x 48 what?  Details matter.  48 x 48 pixels?  Inches?
    Beyond that, yes, I believe the Image Size dialog interacts with us a little differently than it used to.
    Whether it's a positive or negative design change I can't say.  They're trying to pack a lot of functionality in there, and it might take a little getting used to...  It does seem deterministic:
    If you want to keep the physical print size the same and increase the pixel density - i.e., upsample the  image - you would have to choose physical dimensions.  Try this:
    1.  Change the units to inches.
    2.  Change the ppi value and press OK.  This resamples the image.
    On the other hand, if you want to keep the pixel count the same, but just change the ppi value so that it matches a particular kind of display, how would you do it?  Try this:
    1.  Change the units to pixels.
    2.  Change the ppi value and press OK.  This changes the metadata.
    Are you trying to assume what leaving the units set to percent means?  To me it says "xx % of the pixel count".
    -Noel

  • DSC powershell xwindowsprocess to execute batch file under different user account

    DSC powershell run under "NT AUTHORITY\SYSTEM".
    I am trying to execute a batch file under different user account using xwindowsprocess in DSC resource kit.
    I created a custom dsc resource with 3 parameters namely Exepath, Arguments, Credential.
    I received those parameter values in settargetresource method.
    CallPInvoke
    [Source.NativeMethods]::CreateProcessAsUser(("$ExePath "+$Arguments), $Credential.GetNetworkCredential().Domain, $Credential.GetNetworkCredential().UserName, $Credential.GetNetworkCredential().Password)
    I tested it by invoking a batch file and writing username under which it executes to a text file.
    After executing, the output text file still contains the "Systemname$".

    Configuration Sample_xService_ServiceWithCredential
    param
    [string[]]
    $nodeName = 'localhost',
    [System.String]
    $Name,
    [System.String]
    [ValidateSet("Automatic", "Manual", "Disabled")]
    $StartupType="Automatic",
    [System.String]
    [ValidateSet("LocalSystem", "LocalService", "NetworkService")]
    $BuiltInAccount="LocalSystem",
    [System.Management.Automation.PSCredential]
    $Credential,
    [System.String]
    [ValidateSet("Running", "Stopped")]
    $State="Running",
    [System.String]
    [ValidateSet("Present", "Absent")]
    $Ensure="Present",
    [System.String]
    $Path,
    [System.String]
    $DisplayName,
    [System.String]
    $Description,
    [System.String[]]
    $Dependencies
    Import-DscResource -Name MSFT_xServiceResource -ModuleName xPSDesiredStateConfiguration
    Node $nodeName
    xService service
    Name = $Name
    DisplayName = $DisplayName
    Ensure = $Ensure
    Path = $Path
    StartupType = $StartupType
    Credential = $credential
    $Config = @{
    Allnodes = @(
    Nodename = "localhost"
    PSDSCAllowPlainTextPassword = $true
    #Sample Scenarios
    $credential = Get-Credential
    Sample_xService_ServiceWithCredential -ConfigurationData $Config -Name "Sample Service" -DisplayName "Sample Display Name" -Ensure "Present" -Path "C:\DSC\TestService.exe" -StartupType Automatic -Credential $credential
    ¯\_(ツ)_/¯

  • *bold*Automated Batch Printing

    How do i code automated batch printing.
    I had no idea how to start and I had read up most online help on Google but still I can't figure out how to do automated batch printing in Java
    I am required to read a folder consists of multiple RTF files.
    Its easy to read a single RTF file and print it but how do i read a folder and print everything .
    Another problem would be that the printing done should have courier font and alignment in the RTF file however i had tried different way to read and print the data in the RTF file ,which I could only get either courier font with no alignment or not courier font with alignment , i need both of the courier font and alignment to suit an external application RightFax.
    Thus I had thought of a way to direct print the RTF files from folder , an example will be the application SilentPrint how can i call the window's or Microsoft's office print services ? or is it even possible for Java?
    Thanks a lot if help is provided , at least a little clue of where to start?
    or u at least tell me whether is it possible to code automated batch printing in java ? like what SilentPrint can do
    Edited by: yarmageddony on Oct 30, 2007 1:36 AM

    Thanx again for the clue for runtime.exec
    runtime.exec cant help you print but by searching i found the usage of desktop
    which is what i want exactly for batch printing :)
    java.io.File folder = new File("Z:\\BTSS Log\\Fax\\Y2007  M10  D25");
         File[] listOfFiles = folder.listFiles();
         for (int i = 0; i < listOfFiles.length; i++) {
         if (listOfFiles.isFile()) {
         try {
         de.print(listOfFiles[i].getAbsoluteFile());
         File fi = new File("Z:\\BTSS Log\\Fax\\Y2007 M10 D25\\Deleted");
         fi.mkdir();
         listOfFiles[i].renameTo(new File("Z:\\BTSS Log\\Fax\\Y2007 M10 D25\\Deleted",listOfFiles[i].getName().toString()));
         } catch (IOException e1) {                                                     // TODO Auto-generated catch block
         e1.printStackTrace();
    System.out.println("File: " + listOfFiles[i].getName());
    } else if (listOfFiles[i].isDirectory()) {
    System.out.println("Directory: " + listOfFiles[i].getName());
    }hope my code helps other who are looking for batch printing in folders as there isnt much help online out there ^^
    Edited by: yarmageddony on Oct 30, 2007 3:59 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I was automating batch images but now when I do it is trying to save each raw photo as a jpeg

    I was automating batch images but now when I do it is trying to save each raw photo as a jpeg, how do I make it stop or is it a bug?
    The destination is marked "none". I've been doing this correctly all day so I don't know why it has started doing this! Help please

    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Powershell script calling batch file, how to "echo" or otherwise pass in two or more values asked for by batch file

    I've been having a lot of problems trying to get an old batch file we have laying around, to run from my powershell script. The batch file actually asks for two inputs from the user. I've managed to put together a powershell that echos a response, but of
    course, that only will answer one of the prompts. As usual, I've simplified things here to get my testing done. The batch file looks like this:
    @ECHO OFF
    SET /P CUSTID=Customer Number:
    SET /P DBCOUNT=Number of Live Databases:
    ECHO Customer Id was set to : %CUSTID%
    ECHO Database Count was set to : %DBCOUNT%
    Two inputs, two echos to verify values have been set. Now, the powershell looks like this:
    Param(
     [string]$ClientADG,
        [string]$ClientDBCount,
        [scriptblock]$Command
    $ClientADG = '1013'
    $ClientDBCount = '2'
    $Response = $ClientADG + "`r`n" + $ClientDBCount
    $Command = 'Invoke-Command -ComputerName localhost -ScriptBlock {cmd /c "echo ' + $ClientADG + ' | E:\Scripts\Setup\Company\DatabaseSetupTest.bat"}'
    powershell -command $Command
    Output looks like:
    Customer Number: Number of Live Databases: Customer Id was set to : 1013
    Database Count was set to :
    As expected, as I'm only passing in one value. I can't figure out how to get a second value passed in for the second prompt. Instead of $ClientADG, I tried to mash the two value together in the $Response variable with a cr/lf or a cr or a lf in between,
    but no go there either. The first input gets set to the second value, and second input is blank still. In the essence of time, I need to get this batch file called from Powershell to get some folks productive while I actually rewrite what the batch file does
    in another powershell, so it can be integrated into other things. (I'm automating what a bunch of people spend hours doing into multiple scripts and eventually one BIG script so they can focus on doing their real jobs instead).
    How do I get this right in powershell? I don't want to modify the batch file at all at this point, just get it running from the powershell.
    Thanks in advance!
    mpleaf

    It's a "simple" test so I can figure out how to get the arguments passed from ps to bat. The bat file looks like this:
    @ECHO OFF
    SET CUSTID = %1
    SET DBCOUNT = %2
    ECHO Customer Id was set to : %CUSTID%
    ECHO Database Count was set to : %DBCOUNT%
    That's it. The PS script looks like this:
    Invoke-Command-ComputerName myserver-ScriptBlock{cmd/c"E:\Scripts\Setup\Company\DatabaseSetupTest.bat
    1013 2"}
    That's it. The bat file exists on "myserver", and I'm getting the echo back, but without the values.
    mpleaf

  • Executing the batch file from SQL Server Agent job

    Hi - I have a simple batch file (.bat) which connects the SFTP server and drop the files to location machine.  When I run the .bat file manually its working fine but when I schedule it in SQL Agent its keep on running and never shows success message. 
    Could you please tell me how can i resolve it.  Its very urgent for me.
    thanks

    If you trust this host, enter "y" to add the key to
    PuTTY's cache and carry on connecting.
    If you want to carry on connecting just once, without
    adding the key to the cache, enter "n".
    If you do not trust this host, press Return to abandon the
    connection.
    Store key in cache? (y/n) Remote working directory is /
    When you connect via putty you get prompted to accept a key in interactive mode. At this point your batch file is waiting for someone to type in y or n.  
    Try running putty in batch mode to get around this.
    http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter6.html#6.1.8
    6.1.8 -batch: avoid interactive prompts
    If you use the -batch option, PSFTP will never give an interactive prompt while establishing the connection. If the server's host key
    is invalid, for example (see section 2.2), then the connection will simply be abandoned instead of asking you what to do next.
    This may help PSFTP's behaviour when it is used in automated scripts: using -batch, if something goes wrong at connection time, the batch
    job will fail rather than hang.

  • Converting old server time check batch file to PowerShell

    Hi Guys,
    I have batch file that checks the offset between our time servers and two external ones.  This batch file works in XP, but not in Windows 7 pro.  Where it breaks down is it doesn't display the offset correctly.  Can this batch be converted
    to Powershell, so that it would be compatible?  Here is the batch code:
    CLS
    @ECHO OFF
    @ECHO.
    @ECHO.
    @ECHO ************************* Time Checking Script *************************
    @ECHO *** Check the offset between government time server, our internal
    @ECHO *** time server and domain controllers.
    @ECHO.
    @ECHO *** time.nist.gov:
    @w32tm /monitor /computers:time.nist.gov /domain:cooley-dickinson.org |FIND "offset"
    @ECHO.
    @ECHO *** time.cooley-dickinson.org:
    @w32tm /monitor /computers:tock.usno.navy.mil /domain:cooley-dickinson.org |FIND "offset"
    @ECHO.
    PAUSE
    @ECHO.
    @Net Time \\server1 | find "Current"
    @Net Time \\server2 | find "Current"
    @Net Time \\server3 | find "Current"
    @Net Time \\server4 | find "Current"
    @Net Time \\server01 | find "Current"
    @Net Time \\server02 | find "Current"
    @Net Time \\server03 | find "Current"
    @Net Time \\server04 | find "Current"
    @Net Time \\server05 | find "Current"
    @Net Time \\server06 | find "Current"
    @Net Time \\server07 | find "Current"
    @Net Time \\server08 | find "Current"
    Below is the output we get from the batch file in Windows 7.  Where it says delayoffset, is normally where the offset is in seconds.
    *** time.nist.gov:
    Analyzing:Analyzing:Analyzing:Analyzing:Analyzing:delayoffset from DC01.coole
    y-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    *** time.cooley-dickinson.org:
    offset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    delayoffset from DC01.cooley-dickinson.org
    The rest of the script displays the date/time for individual servers correctly.  If this could be converted to powershell, it would be a whole lot easier to deal with.
    Thank you!
    Larry

    Hi Bill,
    My main concern is getting a means script-wise to mimic the functionality of the batch I posted.  The syncing has never been an problem for our engineers (that I know of).  The batch is but a task we can only run on xp, so I wanted to be able to
    try to migrate the task over to windows 7.  If the task is outdated and unnecessary, as I told jrv, I'll suggest that it is to the sys admin.  To me it is a scripting question, I'm a programmer at heart and look to find ways of automating tasks with
    code.  I'm new to Powershell and not experienced with system architecture design. 
    Thank you!
    Larry
    Again - there is no way to do what you are asking. w32tm is the only utility that matches time but you are not using it correctly.  You are reporting the offset but not the delay.  The only accurate way to test sync quality is by running a tape. 
    This is a function of w32tm.   THe tape will show you the variance over time.  The other way I have used is to set the time service to generate a log and scan the log.
    Win32_UTCTime will tell you the time at remote servers but it cannot tell you the network delay.
    If you are only interested in matching seconds then you can use it as well as the w32tm query that returns network time.  These can be extracted and converted into time objects.
    As an exercise to learn PowerShell this could be useful.  Just capture the output of w32tm and parse it in PowerShell.
    See the "Learning" resources on this site for examples.
    You should also use your search engine to learn more about what is available and how it is used.
    A simple search for me returned this:
    http://gallery.technet.microsoft.com/scriptcenter/Get-Network-NTP-Time-with-07b216ca
    There are many more things available including GUIs that report in real time.
    You desktop guys need to get out more often.  Learn to use computers.  They can be very helpful.  Stop plating with hardware.  Desktop support will be gone within a few years as we move to the cloud.  Only application support will
    remain.  The classic PC and member server are pretty much obsolete.
    ¯\_(ツ)_/¯

  • Run Message Analyzer From Batch File

    New to Message Analyzer trying to run it from a batch file but have not found any good examples. Can anyone please provide some help? Trying to use C:\Program Files\Microsoft Message Analyzer>messageanalyzer.exe /logmode  but it just opens the GUI
    I need it to run command line only and output to a file of my choice.
    Raymond McAuliffe

    PowerShell is the way we support automation with Message Analyzer. Check out this blog:
    http://blogs.technet.com/b/messageanalyzer/archive/2013/10/29/using-powershell-to-automate-tracing.aspx

  • Run remote batch file from Web Application Server

    Hello,
    I've developyed a Java program and deployed it on WAS v7.1.
    My java program tries to run a remote batch file which is located on remote Windows file system (and not on the WAS file system itself).
    The batch file was launched on the remote server (I saw it on the Task Manager of the remote server), but the remote batch file actually wasn't run (it was stuck).
    In order to run the remote batch file from my java program that is deployed on the WAS I've created a batch file on the WAS file system which its contnet is:
    cd c:\jobs
    psexec.exe 
    iltlvt40 -u SAPServiceCE1 -p a2i2000! c:\automation\DiskSpace\runDiskSpace.bat
    The jobs folder contains the psexec.exe file (you can find more details about the psexec on this link: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx).
    iltlvt40 is the remote server.
    SAPServiceCE1/a2i2000! is a user/password on the remote server which has a full permissions.
    My java program calls this batch file using the Runtime.exec() java method in order to run the remote batch file.
    Please guide me how to solve this problem?
    Best regards,
    Ahmad

    Hi,
    To which batch file you have meant to add some commands: for the local one or remote?
    I've added to the local one some different commands and it's works.
    I think there is a permission problem when we are trying to go out of the WAS file system.
    Best regards,
    Ahmad

Maybe you are looking for