Batch File

bekiobekio Member Posts: 204
Hello everyone!

I have created a codeunit that creates one batch file, and this batch file extract zip file from drive E: to some folder in drive E:.
The batch file is created, it is ok, but it does not executes to extract the zip file. When i execute this batch file manualy by double clicking it extracts perfectly. But Shell(E:\Extract.bat) does not extracts this files.

Any suggestions!

Answers

  • MGM08MGM08 Member Posts: 41
    I dont know whether this will help or not but please try to
    Add "Sleep" for some milliseconds before executing this shell code.
  • krikikriki Member, Moderator Posts: 9,110
    you need to execute the cmd.exe-command to which you give the batchfile as a parameter.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.