Alternate Shell with specified batch file

Hi there,
I've created a set of scripts for my computer lab which, per a scheduled task, reboots the computer into safeboot with the alternate shell enabled (via bcdedit). It also sets the machine to auto-login (via registry keys).
Then it runs a couple of malware scans, and whatever other clean-up tasks I want.
Now, I'm wanting to pass a script to be executed by the cmd.exe shell (i.e. the 'alternate' shell), but it seems no matter what syntax I use, it doesn't want to parse anything after the cmd.exe in the registry.
e.g.
batch file syntax, with executable in QMs and parameters un-quoted:
HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : "cmd.exe" /C C:\labUtilities\***.bat
Fully-quoted:
HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : "cmd.exe /C C:\labUtilities\***.bat"
Fully un-quoted:
HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : cmd.exe /C C:\labUtilities\***.bat
Does anyone have experience with passing parameters to via the AlternateShell key?
I know for a fact this is possible, as I've seen it done by malware; I just can't remember the syntax it used.
Thank you!

i think it should be:
CMD /c "C:\labUtilities\***.bat" under normal circumstances, not sure if this will work out of the registry.
source: http://ss64.com/nt/cmd.html
Kind regards, Philipp - Solid IT Solutions

Similar Messages

  • Combine 2 PDF's with a Batch file?

    Hello Community,
    this is my first post, so please be patient with me - and sorry for my bad english.
    i want to edit and comine 2 pdf files automatically with an batch file or something else.
    i already have 2 pdf files, a delivery tracking label and a delivery ticket.
    the delivery label from the first pdf should place in the second pdf at the top.
    afer the process they should generate a third pdf an delete the other 2 pdfs.
    is that possible with an batch or vbs or something else?
    thank u in front - at the bottom in this post there is a link to the 3 pdf files.
    the delivery label
    the delivery ticket
    and the final pdf
    Directory Listing of /development/
    best reguards
    m.s

    Are this diferent documents? What version of Adobe Reader?

  • Installing CuciMOC with a Batch File

    I'm trying to get this thing to install with a batch file and Altiris.  What switches did you guys use on the msi?  What switches did you use on the exe?  Which would you use the msi or the exe? Why?
    Thanks in advance!  I'm a batch file n00b. 

    We lost our steam on this project because some other things came up.  I'll post what
    we had before we stopped working on it:
    echo Install Dot Net 3.5 SP1
    "Z:\Software\Microsoft\Dot NET\3.5\dotnetfx35_SP1_Full.exe" /q /c: "install /l /qb"
    echo Killing MS Outlook and OCS Communicator
    taskkill /IM "iexplore.exe" /F
    taskkill /IM "outlook.exe" /F
    taskkill /IM "communicator.exe" /F
    echo Copying CuciMoc
    xcopy "Z:\Software\Cisco\CuciMoc\cucimoc-Install-ffr.7-1-3a\CiscoUCIntegrationTMforMicrosoftOfficeCommunicatorK9.msi" "C:\IT\CuciMOC\" /I
    echo Installing CuciMoc
    "C:\IT\CuciMOC\CiscoUCIntegrationTMforMicrosoftOfficeCommunicatorK9.msi" /qn
    echo CuciMOC is installed
    ****From what the other guy said it doesn't install correct in our environment.  The install goes through then when you log in as admin it says that ocs must be closed, then you close it and it says it needs to be running and fails.  Haven't looked into it any further yet. Maybe the above will help for you.

  • Sqlplus commands from withing the batch files

    Hi,
    Oracle9.2
    need to execute the sqlplus commands from withing the batch files without calling the .sql file separately . How it can be done ?
    With Regards

    Hi,
    I agree with you...but as per your solution, after all you are calling the .sql file while connecting the sqlplus which I know already and I don't want to execute the sql commands like that as shown below.
    For example:
    for shut down the database and starting it again .sql files will be called as shown below
    Note: shutdown.sql file will contain simple database shutdown command.
    sqlplus -s "sys/%password%@%tnsname% as sysdba" @D:\shutdown_db.sql
    and again for restarting the db i will perform as below
    sqlplus -s "sys/%password%@%tnsname% as sysdba" @D:\start_db.sql
    But I want to get it executed directly from the DOS batch file.
    The thing is I want to execute this both the above database commands from the batch file itself without calling the .sql files separately as shown above.
    is it possible, so how it can be done ?
    Regards
    Edited by: user640001 on Feb 9, 2011 9:53 PM

  • Unix shell script to batch file for windows

    Hello all,
    Iam writing a program in java in unix environment and iam executing using shell scripts in unix this program is for client-server environment
    which look like this:
    For server:
    #! /bin/ksh
    export CLASSPATH=/user/vpp/jal/classes:$CLASSPATH
    #set var for filename config file
    export JAL_CONF_FILE=/user/vpp/jal/conf/JALapp.conf
    java -DJAL_CONF_FILE=$JAL_CONF_FILE jalsvr/JALTCPServer 7776for client side it is
    #! /bin/ksh
    export CLASSPATH=/user/vpp/jal/classes:$CLASSPATH
    echo $CLASSPATH
    java jalcl/JALTCPClient msoc05:7776my question is know i want to execute them in windows by creating batch files runsvr.bat, runcl.batbut how
    i gave PATH by giving JRE path but what is the replacement of export because iam having all class files
    in /jalcl for clients and /jalsvr for server but want to create this batch file in separate /bin folder how to do.please help me

    Thank you for reply ,
    And sorry by mistake question repeated twice,
    but when iam executing those batch files it is throwing some exceptions,
    in that file you did not mention to set the JRE path whether it is not necessary and also there msoc05 is the machine name of unix system that need to kept or need to be changed with window IP address .please reply.
    thanks in advance.

  • RUNAS another user: assistance with my batch file for control panel and explorer

    Hello, for desktop support on end user or multi/generic user pcs it is nice to access common commands quickly from a batch file to run under your account. In xp both explorer and control panel apps launched without issues. The primary issue for explorer
    is it appears to ignore the runas command (but the user has permissions to explorer so no error) while the control panel apps ignores run as well but does not have permissions so generates an error. The other commands all execute as the attempting admin's
    account.
    who it is for: the user with the admin account to execute on the user's desktop whom is a nonadmin
    **please note, the commands appear to work if you do have admin rights**, the logged in user does not  have admin rights to these utilities like in a common corporate environment.
    "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item."
    Issue#1:
    With win7 if you do a run as for explorer.exe via batch it will open, but will still be running under the signed in user. I have searched many threads on various sites and have not found a working solution for batch, this may be something I need to retire.
    Issue#2: all control panel applets fail to launch through various methods.
    SECTIONS THAT I AM STRUGGLING WITH:
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    "cmd /c start appwiz.cpl" also fails
    alternative also fails:
    runas /user:%auser%@chwi "cmd /c Start /B control.exe"
    cls
    @ECHO OFF
    set /p auser= Enter your account login id:
    :MyMenu
    CLS
    Echo Use the options below to run as with your admin account id:
    echo.
    ECHO 1 - Explorer C:\ - may not work with win7
    ECHO 2 - Device Manager
    ECHO 3 - Event Viewer
    ECHO 4 - Services
    ECHO 5 - Computer Management
    ECHO 6 - REGEDIT
    ECHO 7 - Command prompt
    ECHO 8 - Local Users and Groups
    echo 9 - launch task manager
    ECHO a - Control Panel - may not work with win7
    Echo b - Add/Remove programs - may not work with win7
    Echo 0 - Exit
    echo.
    SET /P OPT=Please make a selection, and press enter:
    if %OPT%==1 GOTO OPTION1
    if %OPT%==2 GOTO OPTION2
    if %OPT%==3 GOTO OPTION3
    if %OPT%==4 GOTO OPTION4
    if %OPT%==5 GOTO OPTION5
    if %OPT%==6 GOTO OPTION6
    if %OPT%==7 GOTO OPTION7
    if %OPT%==8 GOTO OPTION8
    if %OPT%==9 GOTO OPTION9
    if %OPT%==a GOTO OPTIONa
    if %OPT%==b GOTO OPTIONb
    GOTO exit
    :OPTION1
    ECHO Executing Explorer C: window
    echo.
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    GOTO:mymenu
    :OPTION2
    ECHO Executing Device Manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B devmgmt.msc"
    GOTO:mymenu
    :OPTION3
    ECHO Executing Event Viewer
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B eventvwr.msc"
    GOTO:mymenu
    :OPTION4
    ECHO Executing Services
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B services.msc"
    GOTO:mymenu
    :OPTION5
    ECHO Executing Computer Management
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B compmgmt.msc"
    GOTO:mymenu
    :OPTION6
    ECHO Executing regedit
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B regedit"
    GOTO:mymenu
    :OPTION7
    ECHO Executing command prompt
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B cmd"
    GOTO:mymenu
    :OPTION8
    ECHO Executing Local Users and Groups
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B lusrmgr.msc"
    :OPTION9
    ECHO Executing task manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B taskmgr.exe"
    :OPTIONa
    ECHO Executing control panel
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B control.exe"
    :OPTIONb
    ECHO Executing add/remove programs
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    GOTO:mymenu
    GOTO EXIT
    :EXIT

    You guys I appreciate the feedback but please read my entire post and help if related, this is getting a bit frustrating.
    a. I am not developing a powershell solution or "how do I launch them via command prompt" that is well known. The goal is to create an easy to use "run as helper" script for those that are not as savvy or do not have the commands memorized.
    Even so many of your suggestions do not work because the user logged in does not have admin rights and the commands are blocked because of this restriction.
    b. This is for the batch file in question, NOT "how do I launch command prompt as an admin"
    c. Again, several options work, several do not (network connections and programs and features do not) must likely due to same limitations as explorer.exe or UAC
    d. this is not "how do I launch the utilities by command line" it is "how do I launch them as the admin WHEN the current user does not have admin rights". The entire script works on a pc if you have admin rights because its launching
    it instead AS the current user, in that case the current user has admin rights therefore it doesnt reproduce the issue.
    e. running by control.exe using the app name or with cpl does not resolve the issue.
    f. I did not post that command prompt is having issues launching, I wrote a couple times that the options in my script do work such as command prompt. Even if you launch command prompt you cannot launch programs and features or network connections with your
    admin account with or without an additional runas command.

  • Install flash with a batch file

    good morning every one! i need some help.here's the hole
    thing.i made an unattended XP installation and i wtote this little
    batch file "start /wait flash9.exe /q" . i want to install the
    flash active-x after the finish of xp installation,when it starts
    for the first time the desktop. i tried many ways but no
    luck...does anyone knows how to do it? the process stops and i
    think that the desktop is not fully loaded when the batch
    runs....thanks for your attention!

    I don't know about formating around bad blocks, but I do know a thing or two about SS drives.  In my day job I design rugged computer systems that must withstand ridiculous vibration levels, as such we use SSDs.
    They are not trivial devices and do a substantial amount of internal house keeping.
    In general, they map logical blocks (the ones that are specified via the IDE interface) to physical locations in the drive.  They dynamically keep track of bad or worn out physical blocks and remove them from the logical to physical map. 
    Even more clever, they keep track of the write history to the physical blocks and perform automatic write leveling.  If a given portion of the drive is seeing excessive write cycles, while other areas never change, the controller will move the static data to the more worn area of the drive and the dynamic data to the areas that have less wear.  The map of logical to physical allocation is silently updated internally, and the external driver never knows it happened.
    Because of the write leveling, when a drive starts to fail due to wear out, you will find the whole whole drive quickly fails.
    Other considerations:  SSDs are VERY sensitive to loosing power during a write cycle.  The best way to corrupt a SSD is to power it down when it is performing a write or internal house keeping.
    When selecting a SSD, or any solid state storage (SD, USB Drive, CF, etc...) pick one that uses single level encoding.  This means it stores one bit of data per EE cell.  Multi level encoding uses analog techniques to put more than one bit per cell.  Good for storage density, BAD for data integrity and storage life.
    --Sorry
    Last edited by ewaller (2009-09-10 05:39:30)

  • Can I close Firefox and Plugin-container with a batch file? ANSWER: Yes. SOLUTION below.

    Steps to create batch file to End process tree: "Firefox.EXE"
    1. create new .txt file
    2. copy/paste the following: taskkill /IM firefox.exe
    3. Save
    4. Rename the txt file - EndFirefoxTree.bat
    5. Run from desktop at any time, give it a cute icon if you'd like!.

    This works well although user will need to put the .bat file in Documents and create a shortcut to desktop in order to change the icon (of the shortcut).

  • Remote oracle 10g r2 Connection test with either batch file or perl

    Hi,
    I want to know if my remote oracle 10g server on Windows 2003 server is up and running through either batch file or perl script or vbscript. The system from which I want to run the script do not have oracle client. How can I do this?
    Thanks in advance
    vivek

    I also got the same proble for EM. Any solution found?
    [email protected]
    Thanks

  • How to create directories with a "batch" file

    Hi,
    This may be a no brainer for you wizards out there.
    I have a text file with several hundred lines in it. Each line contains the name of a directory I'd like to create.
    I'm hoping there's a way to prepend something like "mkdir" to each line and then "execute" the file from a terminal window to create all these directories for me.
    Anybody got any ideas?
    Thanks!

    Unix, Shell, and Terminal questions are best asked in the Mac OS X Technologies Unix forum.
    <http://discussions.apple.com/forum.jspa?forumID=735>
    In the mean time:
    while read dir
    do
    mkdir -p "$dir"
    done <filecontaining_list_ofdirectories

  • Problem with .cmd/batch file, while scheduling RMAN backup

    I am running Oracle 10g on Windows. I Have written RMAN Backup script & saved it as .cmd file. Now i will schedule this via AT utility on windows. While i try to run this .cmd file then after starting RMAN it does nothing, neither RMAN gets connected to target database nor backup gets started. What may be the problem??
    Contents of .cmd file are like this:-
    RMAN target 'sys/manager@test'
    backup database include current controlfile;
    backup archive log;
    Message was edited by:
    user648257
    Message was edited by:
    user648257

    RMAN target 'sys/manager@test'
    backup database include current controlfile;
    backup archive log;will not work. You are passing 3 different commands to the Windows command interpreter. CMD executes the first command 'RMAN target ...@test" and waits for it to complete before it will proceed to attempt to execute the "backup database".
    That is, the "backup database" command isn't being passed to RMAN at all.
    You should put the two "backup" commands in a script file (as you would do for an SQLPlus script file) -- eg backup.rmn and execute it with rman
    eg
    rman target 'sys/manager@test'  @backup.rmn

  • How to combine offscrub vb script with batch file

    Hello all,
    I am trying to upgrade from Office 2010 to Office 2013, but Office 2013 does not completely remove all of Office 2010 and Visio 2010, so I want to use the offscrub vb script from this article (
    http://blogs.technet.com/b/odsupport/archive/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products.aspx) to first remove office 2010, Visio2010, and Project. I already extracted the offscrub vb script. How can I combine
    the offscrub vb script with a batch file I created to silently install office 2013, so that after offscrub is finished running, the office2013 install would begin? I would like to apply the file via GPO. Or if there is away that one file calls the other. 
    I would appreciate any help you can provide.
    Thank you

    Yes - that is not GP Software Distribution.  It is a very flakey method as you are finding out.  I highly recommend posting in the Office 2013 administration forum for assistance.  There are many 'gotchas".
    The problems will come as a result of needing to remove 2010.  If 2010 is a trial version or an expired license you will have many issues.  Also the build of the MSP needs to be manged correctly.
    I would add the uninstall script to the MSP package and make it a dependency or try and build an MSI to run the uninstall script using Software Distribution or run it independently and be sure you get a reboot before you attempt to do the install. 
    The Admins in Office 2013 forum will have many bits of experience that you will not likely find here or not find as readily.
    Good luck.
    ¯\_(ツ)_/¯

  • Restore Prefs files with batch file CS5

    I'm running PS CS5 under Windows XP and ran into a "Refine Edge" problem where I couldn't get a functioning cursor. Checking around I came up with the solution of deleting & resetting my prefs file, which solved the problem. However restoring my prefs was time consuming and I thought there should be a better way where I could keep a backup prefs file & perform the restore with a batch file.  So if anyone is interested here is the procedure and sample batch file I set up.
    First in Win XP the prefs file(s) are buried in:
    C:\ Documents and Settings\User Name\Application Data\Adobe\Adobe Photoshop CS5\Adobe Photoshop CS5 Settings\
    and there were three prefs files that were affected when I deleted with the startup Ctrl/Alt/Shift procedure.
    They were:
    Adobe Photoshop CS5 Prefs.psp
    Palette.psp
    Color Settings.csf
    I made copies of each with an extension of .org (to signify original) - so there were three duplicate files in the directory.  There would be my backup files and are named:
    Adobe Photoshop CS5 Prefs.org
    Palette.org
    Color Settings.org
    Then I created a batch file named RestorePrefs.bat in the same directory as follows:
    Copy C:\Documents" "and" "Settings\User" "Name\Application" "Data\Adobe\Adobe" "Photoshop" "CS5\Adobe" "Photoshop" "CS5" "Settings\Adobe" "Photoshop" "CS5" "Prefs.org *.psp
    Copy C:\Documents" "and" "Settings\User" "Name\Application" "Data\Adobe\Adobe" "Photoshop" "CS5\Adobe" "Photoshop" "CS5" "Settings\Actions" "Palette.org *.psp
    Copy C:\Documents" "and" "Settings\User" "Name\Application" "Data\Adobe\Adobe" "Photoshop" "CS5\Adobe" "Photoshop" "CS5" "Settings\Color" "Settings.org *.csf
    The batch file copies the org (backup) files to the prefs files.
    Note There are no spaces in batch file. These are linked with quotes. 
    Then create an icon on the desktop that runs the batch file in the prefs directory.
    To check if its working properly prior to and without changing the prefs files, edit the batch file from *.psp & *.csf to *.XXX - run it  - then check the directory for three new files with the XXX extension.  If running OK, delete the XXX files and change the batch file back as above & your set to go.
    Burt Stuttman

    There are more files then the three that you noted that can can become corrupt in your user id Photoshop Preferences. Some preference files are not static some files are updated when you make changes to you Photoshop environment like edit action make brushes, patterns, define shapes  etc. Some preference files are updated every time you close down Photoshop.   I find it best to back up your whole user id Adobe Applications version Preference tree when the application is working well as a backup in case thing go sour.   Its really not a complex or time consuming process. It actually a very simple easy process you can do in windows file explorer right panel.
    Step one make your backup.   Highlight the preference folder right click click copy.  Then right click and click on paste "Folder name Copy" is the name of the copy and is your Backup.
    Should Photoshop mess up. Close Photoshop.  In file explorer do step 2 recover.
    Step 2 Highlight the preference folder right click  click on rename add a suffix Rotten "Folder name Rotten".   Highlight the preference folder "Folder name Copy" rename to "Folder name"
    Do step one create a new backup.
    Start Photoshop If all is well and you do not need to recover newer thing from  "Folder name Rotten" delete  "Folder name Rotten" after a few daye.   and your more sure everything is A OK.

  • Runtime.exec() and batch files

    I am having a problem on Windows 2000 while trying to execute a batch file with the Runtime.exec() method. Basically, the exit value returned from the call to Runtime.exec(), returned specifically by the waitFor() method in the Process class, is always zero, even if the batch file fails miserably. After looking into batch files further, it seems to me that the only way to get the exit value of the commands run in the batch file back to the Runtime.exec() call is to put "EXIT %ERRORLEVEL%" in the batch file. What this actually does is exit the command(cmd) shell that the batch file was running in with the exit code of the last command run. This is all great when calling the batch file with a Runtime.exec() call, but when you run it in a cmd window, the window closes when the batch file completes, because the call to EXIT exits the entire shell. I guess i'm just wondering, am i correct in assuming the exit value returned to the java process is going to be the exit value of the shell in which the batch file is running? I need to have the exit value actually indicate whether the batch file ran successfully or not, and if i have to put in the EXIT %ERRORLEVE% (which exits the cmd shell with the exit value of the last command run), then i'll do that, but if someone knows a better way of doing this, i am all ears. Thanks in advance

    To run any command from java code, the method is
    Runtime.getRuntime().exec( myCommandString )
    Where, myCommandString is something like "/full/pathname/command".
    If the pathname contains spaces (specifically in Windows), e.g. "c:\program files\windows\notepad", then enclose it in quotes within the quoted string. Or pre-tokenize them into elements of an array and call exec(String[] cmd) instead of exec(String cmd).
    From JDK1.3 there are two new overloaded Runtime.exec() methods. These allow you to specify starting directory for the child process.
    Note, there is a gotcha associated with reading output from commands. When the runtime exec's the process, it passes to it 3 streams, for stdin, stdout, and stderr; the out and err are buffered but the buffer size isn't very big. When your process runs, it reads (if needed) from in, and writes to out and err.
    If it doesn't write more than the buffer-size, it can run to completion.
    But if it tries to write more data to one or the other stream than the buffer can hold, the write blocks, and your process hangs, waiting for you to empty the buffer so it can write some more.
    So after the exec call, get the streams, and read from them in a loop until they both hit end-of-stream (don't block on either one, just read whatever is available from each, each loop iteration).
    Then when the streams have ended, call the process.waitFor() method to let it finish dying.
    Now, here is a code snippet how you achieve this.
    String strCommand = "cmd.exe /c " + strCommand;
    // For Solaris / unix it will be
    // String strCommand = "/usr/cobra/sol/runInstaller.sh";
    boolean bWait = true;
    //execute the command
    try
         Runtime r = Runtime.getRuntime();
         Process pr = r.exec(strCommand);
         Process pr = r.exec(callAndArgs);
         BufferedInputStream bis =new BufferedInputStream(pr.getInputStream ());
         int c=0;
         /** Outlet for IO for the process **/
         while (c!=-1)
              c=bis.read();
         /**Now wait for the process to get finished **/
         if(bWait == true)
              pr.waitFor();
              pr.destroy();
    catch(Exception e)
         System.out.println("Could not execute process " + strCommand);
         return(false);

  • Error executing batch file within web application

    Hi all,
    I am trying to execute a batch file from within my web application (struts 1.2).
    The batch file is being kept inside the 'src' folder. The batch file contains only one command to open NOTEPAD.
    The code inside my Action class is:
    URL url = getClass().getResource("/test.bat");
    java.io.File file = new java.io.File(url.getPath()) ;
    String path = file.getCanonicalPath();
    r.exec(path);
    I have deployed this on tomcat and get an error like this:
    java.io.IOException: Cannot run program "C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\CIGTAFAPP\WEB-INF\classes\test.bat": CreateProcess error=2, The system cannot find the file specified
    The problem is not with the batch file because when I try to execute the file directly from the classes folder, it opens up the notepad editor.
    I have a specific requirement where I need to create/read this batch file from within the project structure.
    Can someone please help me with this?
    Regards

    The entire content of the file is as below:
    set javaTestProjectPath=D:\projects\CIGTAF\LRTestCases
    C:
    cd %javaTestProjectPath%
    set path=C:\Program Files\Java\jdk1.6.0_21\bin
    set classpath=%javaTestProjectPath%\bin;%javaTestProjectPath%\lib\selenium-server-standalone-2.20.0.jar;%javaTestProjectPath%\lib\testng-6.4.jar;%javaTestProjectPath%\lib\junit-4.10.jar;%javaTestProjectPath%\lib\poi-3.6-20091214.jar;%javaTestProjectPath%\lib\mail.jar
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\Mailsetup.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\MailAuthenticator.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\ReadData.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\ReadWriteExcelResults.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\SeleniumFramework.java -d %javaTestProjectPath%\bin
    java org.testng.TestNG %javaTestProjectPath%\SelXD-Config.xml -d %javaTestProjectPath%\test-output
    none of these are getting executed.
    regards
    Edited by: 887789 on May 4, 2012 1:46 AM

Maybe you are looking for