[[https://www.revelation.com/|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]] ==== RUNWin Utility (OpenInsight Specific) ==== === At 27 AUG 1998 02:18:32AM Deirdre wrote: === {{tag>"OpenInsight Specific"}} 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 [url=http://www.sprezzatura.com" ]Sprezzatura Ltd[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === 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 [url=http://www.srpcs.com]SRP Computer Solutions[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === 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 [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=8630C69C5720D46A8525666D0022A817|View this thread on the forum...]]