-
Solved: run batchfile?
im trying to run a batchfile from VBA but its as if the file doesnt finnsih.
i see the black cmdwindow open and writing some text very fast but the batch doesnt run.
[VBA]
Sub test6()
Dim bat As String
bat = "J:\Documents and Settings\Andreas\Desktop\bat.bat"
Shell bat
End Sub
[/VBA]
any suggestions?
-
uhh... found the problem.
windows was playing tricks with me. it changed my local path to my documents by some reason.
problem solved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules