Shell commands

njdownes
02-10-2004, 04:05 PM
Hi,

I'm trying to use the following shell command, but it keeps saying that file isn't there, when clearly it is in the directory.

Shell ("move c:\test\*.* c:\test1")

Any help appreciated!

Gruff
02-10-2004, 06:54 PM
Hi,

I'm trying to use the following shell command, but it keeps saying that file isn't there, when clearly it is in the directory.

Shell ("move c:\test\*.* c:\test1")

Any help appreciated!

I would imagine it is trying to tell you it cannot find the 'Move' command.
This is a requirement for the Shell function. You must give it the complete path to the program that you want to launch.

The Move command is an executable located normally located in:
"C:\Windows\Command"

Try: Shell ("C:\Windows\Command\move c:\test\*.* c:\test1")

~Tom

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum