I cannot execute SHELL('C:\ActiveBarcode\BarcodeImage.wsf')

nachoporcarnachoporcar Member Posts: 27
edited 2006-07-05 in Navision Attain
i have Navision 3.1

i tyr to execute SHELL('C:\ActiveBarcode\BarcodeImage.wsf') and system return me this error:

"Your operating system cannot execute program c:\ActiveBarcode\barcodeimage.wsf"

I'm sure my program is at that PATH, i have executed it from prompt.

The problems seems to be the extension wsf (Windows Script File), have anyone the same problem??

please help, what can i do to execute my program???

THX
Nacho

Comments

  • ara3nara3n Member Posts: 9,255
    Create an automation variable for wscript as
    'Windows Script Host Object Model'.WshShell
    Add the following code.
    create(wscript);
    wscript.Run('C:\ActiveBarcode\BarcodeImage.wsf)
    
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.