How to delete normal DOS/Files via PAL

How to delete normal DOS/Files via PAL

Post by Marko Cu » Thu, 13 Jan 1994 21:03:29



Does anybody know how to delete DOS-Files via PAL (something like remove under
C)?

Marko

 
 
 

How to delete normal DOS/Files via PAL

Post by jcash.. » Fri, 14 Jan 1994 00:33:21



Quote:> Does anybody know how to delete DOS-Files via PAL (something like remove under
> C)?

> Marko

You need to look at the RUN command.  it will shell out to dos
and do whatever you want.  e.g. RUN "delete *.txt"
this would shell to dos, delete all *.txt files, and then return
to your pal application.  look at some of the parameters that go
along with the command, though.  they will help keep your screen
pretty.

jim

 
 
 

How to delete normal DOS/Files via PAL

Post by Mean Green Dancing Machi » Sat, 15 Jan 1994 04:16:56



Quote:>Does anybody know how to delete DOS-Files via PAL (something like remove under
>C)?

EDITOR NEW FileName
WINDOW CLOSE
--

Hugs and backrubs -- I break Rule 6
* vanilla * het

Member of the Groucho Marx Fan Club

 
 
 

How to delete normal DOS/Files via PAL

Post by ho.. » Wed, 19 Jan 1994 11:13:04




>> Does anybody know how to delete DOS-Files via PAL (something like remove under
>> C)?
> You need to look at the RUN command.  it will shell out to dos
> and do whatever you want.  e.g. RUN "delete *.txt"
> this would shell to dos, delete all *.txt files, and then return
> to your pal application.  look at some of the parameters that go
> along with the command, though.  they will help keep your screen
> pretty.

If I might say so : YUK!

Try something like this :

delete("filename.ext")

Where filename.ext if the full path and filename of the file to
be deleted, you can pass variables to it too!

You might also want to do an enumFileList and isFile to make sure
it actually exists, but that's a different question.

-Chris Hore

--
Opinions : What opinions?