Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Visual Basic application?
I am trying to build a application that will run files from my usb drive. I code it with the
shell ("g:\folder\**.exe")
But when I run the test it says file not found? Is this not the correct code?
3 Answers
- ?Lv 79 years ago
When using the shell command I don't believe that you can use wildcards in the pathname.
Try a simple test where you use a pathname to a single specific file.
If a single file call works then you can write a Batch file listing the multiple files you wish to execute and make a single call to than BAT file stored on the USB.