Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 27 AUG 1998 02:18:32AM Deirdre wrote:

I am using Runwin to perform a dos command.

eg xcopy d:\sample.bmp e:\files\123.bmp

The full path names are in the command, and I am trying to rename the file as well.

The Dos window always comes up asking for File or Directory. And it will not close automatically.

We used to be able to do this in AREV, can someone tell me how to do it in OI.

Thankyou


At 27 AUG 1998 05:33AM Carl Pates wrote:

Deidre,

Try using the 'COMMAND /C ' switch before your Xcopy statement.

cpates@sprezzatura.com

Sprezzatura Ltd

World Leaders in all things RevSoft


At 27 AUG 1998 10:41PM Mark Glicksman wrote:

Create a batch file that does what you want. Then, create a shortcut to the batch file. In the shortcut properties, choose "Close on Exit". You can also choose "Run Minimized" if you don't want the window to be visible when it runs. Then, use Runwin to point the the name of the shortcut, not the name of the batch file. The shortcut always has an extenstion of .LNK This has worked fine for me.

Mark Glicksman

Glenside, PA


At 27 AUG 1998 10:42PM Mark Glicksman wrote:

Create a batch file that does what you want. Then, create a shortcut to the batch file. In the shortcut properties, choose "Close on Exit". You can also choose "Run Minimized" if you don't want the window to be visible when it runs. Then, use Runwin to point the the name of the shortcut, not the name of the batch file. The shortcut always has an extenstion of .LNK This has worked fine for me.

Mark Glicksman

Glenside, PA


At 29 AUG 1998 10:48AM Adrie Helmich wrote:

]I am using Runwin to perform a dos command.

]eg xcopy d:\sample.bmp e:\files\123.bmp

]The full path names are in the command, and I am trying to rename ]the file as well.

using xcopy is more for wild card copy i.e.:xcopy d:\*.bmp e:\files\

for single file copy it is better to use the simple copy command, with the /b option if necessary. it won't argue with you.

Adrie.


At 29 AUG 1998 01:30PM Don Bakke wrote:

Is there a reason why you want to use XCopy rather than an OpenInsight method for copying/renaming files?

dbakke@srpcs.com

SRP Computer Solutions


At 31 AUG 1998 12:36PM DSig (SigSolutions) wrote:

]]Is there a reason why you want to use XCopy rather than an OpenInsight method for copying/renaming files?

AS IN ..

UTILITY

 RemoveDir: removes a directory
    directory to remove
    true if success, false if failed
 RenameDir: renames directory
    directory to rename
     new directory name
    true if success, false if failed
 RenameFile: renames file
     file to rename
      new file name
     true if success, false if failed
 MakeDir:    makes a new directory
     directory to create
     True if success, false if failed

dsig

David Tod Sigafoos ~ SigSolutions

dsig@teleport.com

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8630c69c5720d46a8525666d0022a817.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1