Shell commands
Shell commands
Shell commands
Shell commands
Shell commands
Shell commands Shell commands Shell commands Shell commands Shell commands Shell commands Shell commands Shell commands
Shell commands Shell commands
Shell commands
Go Back  Xtreme Visual Basic Talk > > > Shell commands


Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2004, 05:05 PM
njdownes njdownes is offline
Newcomer
 
Join Date: Feb 2004
Posts: 5
Default Shell commands


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!
Reply With Quote
  #2  
Old 02-10-2004, 07:54 PM
Gruff's Avatar
GruffShell commands Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

Quote:
Originally Posted by njdownes
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
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about focus with shell commands JStew File I/O and Registry 2 11-21-2003 01:47 PM
variables in shell commands? comms General 9 07-09-2003 03:05 PM
Issuing shell commands JStew General 7 03-09-2003 05:32 AM
Shell Commands? the_manic_mouse General 11 07-25-2002 01:52 PM
Visuaol FoxPro commands in a VB shell? thisMakesMeMad General 3 04-23-2002 05:38 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Shell commands
Shell commands
Shell commands Shell commands
Shell commands
Shell commands
Shell commands Shell commands Shell commands Shell commands Shell commands Shell commands Shell commands
Shell commands
Shell commands
 
Shell commands
Shell commands
 
-->