erictridas
asked on
Shell() Question
Hey,
I was wondering if anyone knew how to run program such as sig2dat from VB using shell(). One example of this would be:
shell("sig2dat:///|File: The Matrix [DivX].avi|Length: 606580736 Bytes, 592364KB|UUHash: =NU+6vO//nt1xRJWKvtxhMM2gm LA=|", vbHide)
When I try to run that I get a "File Not Found" error. I've been able to run it using:
shell("start sig2dat:///|File: The Matrix [DivX].avi|Length: 606580736 Bytes, 592364KB|UUHash: =NU+6vO//nt1xRJWKvtxhMM2gm LA=|", vbHide)
This method worked although it was not hidden. I was wondering if anyone could help me with this. Thanks.
-Eric
I was wondering if anyone knew how to run program such as sig2dat from VB using shell(). One example of this would be:
shell("sig2dat:///|File: The Matrix [DivX].avi|Length: 606580736 Bytes, 592364KB|UUHash: =NU+6vO//nt1xRJWKvtxhMM2gm
When I try to run that I get a "File Not Found" error. I've been able to run it using:
shell("start sig2dat:///|File: The Matrix [DivX].avi|Length: 606580736 Bytes, 592364KB|UUHash: =NU+6vO//nt1xRJWKvtxhMM2gm
This method worked although it was not hidden. I was wondering if anyone could help me with this. Thanks.
-Eric
What happens if you open a command window and type:
sig2dat:///|File: The Matrix [DivX].avi|Length: 606580736 Bytes, 592364KB|UUHash: =NU+6vO//nt1xRJWKvtxhMM2gm
cos that's effectively what you're doing!
Regards
bukko
If you get a "file not found" It's because you're in the wrong folder.
For example, instead of:
Shell "myexe.exe"
Use
Shell "C:\fully\qualified\path\m
However, I'm not sure about this sig2dat thing.
Regards
bukko
erictridas:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
erictridas, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:
Save as PAQ -- No Refund.
DanRollins -- EE database cleanup volunteer
Moderator, my recommended disposition is:
Save as PAQ -- No Refund.
DanRollins -- EE database cleanup volunteer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you could try using:
ChDir "c:\yourdirectory"
...I admit I don't know what's going on with the hidden vs. not hidden issue. I haven't been able to get shell commands to work when they are hidden myself.