Why do I get error -17500 when calling a batch file using the call executable step type?

I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?

It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help.

Similar Messages

  • TS1538 Why am i getting error 9006 when trying to restore my ipod 5th gen?

    Why am i getting error 9006 when trying to restore my ipod 5th generation?

    Configure your security software
    Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
    Common errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.

  • Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Sharonc21 wrote:
    If one is downloading directly to the iPhone via WiFi, it doesn't matter what version of iTunes is on the computer.
    I decided to sync my phone to Outlook via iTunes.  First thing, iTunes discovered that 7.0.3 was not on my phone.  It asked if i wanted to install it.  I said, "yes", and VOILA!! 7.0.3 is now installed on my iPhone.
    So therein is the answer.  Have no idea what bug is in there to keep it from loading to some phones directly via WiFi, but obviously, it is something!!
    There is no bug.  While you can update your iOS via wi-fi, it's recommended to do so via USB & iTunes.  Depending on your wi-fi connection & singal strength, you can get errors.  That's not a function specifically of the device.

  • TS1424 Why am I getting error 11222 when trying to access the store?

    Why am I getting error 11222 when trying to access the store?

    The 11222s can sometimes be associated with LSP issues.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Why do i get error 1004 when trying to get ringtone?

    why do i get error 1004 when trying to buy song(ringtone) on my iphone

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Try downloading from below link :
    New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    Feel free to post , if you need further assistance

  • Why do I get error 50 when importing CD to my PC?

    Why am I getting error 50 when adding CDs to my PC?

    That is a write error message, are you trying to rip them to an external CD? And do you have write privileges on the computer?
    First thing I would try is rebooting your computer.

  • HT203421 why do i get error 1004 when trying to download mountain lion software?

    why do i get error 1004 when trying to download mountain lion software?

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do I get error -42408 when I tried to download my recent purchases?

    Can someone tell me why do I get error -42408 when I tried to download my recent purchases?

    See this document iTunes: "Error 42408" or "Error 42404" after ... - Support - Apple
    Make sure you have upgraded to the latest iTunes version.

  • Why do I get error 1303 when trying to install either Reader X or XI on Win 7??

    Why do I get error 1303 when trying to install either Reader X or XI on Win 7??

    Hi kbannister1
    Please refer to the following forum thread on error code 1303 when trying to install Reader x or XI.
    http://forums.adobe.com/thread/670046
    Hope this helps.
    Regards,
    Sumit Singh

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    So you have backed up the content of the computer's hard drive, too?
    That usually is a great idea since it is possible to lose use of the system
    if parts of it have accidentally been removed or get over-written, or the
    main system files get corrupted, when the hard disk drive gets too full.
    If you have not trashed the originals of your created content, that remain
    after you made copies on an external hard drive or other device, then
    that is what you'd have to do to reclaim the capacity still in use by them.
    What are specifications of the hard disk drive? The unused capacity
    verses the used, in GB? If the hard drive has less than 15 to 20%
    free or unused capacity, you could run into trouble. Mine are 40-50%
    unused hard drive space, so ample room is available for automatic
    Virtual Memory to use that capacity as temporary swap file space.
    This is helpful when the computer could use more physical RAM
    memory capacity, but doesn't have it. Or if the RAM is maxxed out
    and you can't add any more. Virtual Memory is part of OS X and the
    system automatically can use as much as is available, but it is better
    to be sure there is plenty of resources available to include chip RAM
    as well as unused or free hard drive capacity for use as VM.
    If for some reason your files in Trash won't go away when you empty
    it, you may have to restart. Be sure you have not included any System
    files in the content in the Trash, or the Mac may not start up later on.
    You may have to boot the computer from the install-restore OS X DVD
    and run Repair Disk from its version of Disk Utility, to be sure it's OK.
    I'm guessing that by now you know enough about the vintage system
    in the older hardware to figure it out, so I won't write about it now.
    In any event... hopefully you can simply trash the files, but check them
    carefully, & you may need to remove (copy to archive first) even more.
    Good luck & happy computing!

  • Why do i get error 43 when trying to update iphone3

    why do i keep getting error 43 when trying to update iphone3? very frustrating please help!

    If you back up your device manually before syncing, you can restore it from that backup again. A manual backup does not include the sync process.
    To backup manually do this:
    Connect your iPod to your computer and right click on it in the device list and choose backup. iTunes will backup your iPod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your iPod let iTunes erase all media content and  restore your settings and app data from your manual backup afterwards.

  • Why do I get error "-1074388952" when using CANopen?

    Hi there,
    I built a VI to communicate over a PXI-8461 with a servo controller from SEW-Eurodrive. I use the LV CANopen Library, please see the attached VI! When starting my application, I use the init case, during runtime I change the settings of the servo controller with the "write" case and finally in the "stop" case I close and kill all objects I previously created
    There is no communication from the controller to the PC, I only send a PDO to the controller. Although there is no "read"-function in the VI (necessary), after some time I get the mentioned error, please see the other attachment! After confirming the error dialog with "continue" or "stop", I'm no longer able to communicate with the servo controller. How can I prevent my application from hanging? And is it possible to reset the CAN-Card from within my LV 8.5 application? Currently I have to reboot the whole PC to do that, otherwise no new communication is possible...
    To say it with the Scorpions: "Is there anybody there who feel's that vibration?"
    Does anybody have an idea?
    Thanks in advance for any help
    Regards
    Achim
    Attachments:
    error.PNG ‏12 KB
    SEW_EncoderDriveControl.vi ‏58 KB

    Hi Dirk,
    thanks for the answer...although it really not gets me any further.
    I already use a PXI-8461 Series 2 CAN-Board! What do you mean when you say "high busload"? I have to communicate with 500kBaud because the SEW controller expects this rate. I only transmit new parameters in "single shot mode", meaning I fire new values (8 bytes) event-based (button push). As I mentioned I do not transmit any data from the controller to my LV application.
    Sometimes it's also not possible to reset the board in the MAX, then there reamains a exclamation mark on yellow background on the board icon.
    I still receive another error message (something like "PDO write object does not exist") when I changed nothing for quite some time and then try to transmit new parameters on an object I successfully used several times before. Sometimes everything works fine until I try to stop communication...then sometimes a error message pops up saying something similar, like "Synch Object does not exist". It must have been existed, because if not, the SEW controller would not have been working because it expects this cyclic synch.
    Do you (or anyone else) have a clue?
    I found the ncReset.vi in the NI-CAN library and I am going to test it ASAP. Is there any difference in the use between "your" method with the (ncAction.vi + Reset) and the direct use of ncReset.vi? I'm going to code a automatic reset with that function in the case that one of the mentioned errors occurs. Do you think it's possible to automatically reset and then reinitialize my CANopen session? Or will I get some other strange errors?
    Hoping for a helpful answer:
    Achim
    Ahhh...before I forget it:
    Seasons Greetings! Have a cheerful and happy christmas time!

  • TS3694 why do i get error 3194 when i try to update my ipod

    i keep getting error 3194 every time i try to update the itunes on my ipod why?

    3194
    See the actions for that error here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    iPhone Error 3194 - How to Fix iTunes Error 3194?
    Fix Error 3194 from iTunes during iPhone restore

Maybe you are looking for

  • CR for VS2010 "Load report failed"

    like in "Load report failed" error with VS 2010 upgrade web application works fine on Dev but "Load report failed" when deployed to another server (Win2003 or Win2008r2 (fresh installs); latest CR redistributables; beta never existed on these servers

  • Really frustrating...Safari keeps quiting unexpectedly

    As of late, Safari keeps shutting itself down, with no obvious pattern. Furthermore, when it shuts down, my dock many times will not show itself when I move my cursor towards the bottom of the screen to access it. I have to change the position of the

  • Sparc Station 10 external SCSI Problems

    Hi folks, i have installed Solaris 8 (10/01) on a Sparc Station 10. All worked fine, except, that only 2 drives from the external SCSI-Array (4 drives ) are recognized by the system. The format-command hangs for more than 5 Minutes after starting it

  • Calling web service with utl_dbws and parsing the xml result with Xpath

    I'm invoking a web service from the database(10.2.0.2.0) using sys.utl_dbws and all is working well. After executing response := sys.utl_dbws.invoke(call_, request); I execute dbms_output.put_line(substr(response.getstringval(),1,1500)); which result

  • Visual support bars in graphs' backgrounds

    Hi, is it possible to get those visual support bars in graphs' backgrounds or would I have to create them manually? http://tinyurl.com/graph-example Thanks!