Page 1 of 1 1
Topic Options
#3393 - 2000-06-30 05:03 PM something > textfile
Anonymous
Unregistered


I want to use the ">" in a kixtart script, but it doesn't seem to work.

I've tried :

shell "net view > view.txt"
shell "net view "+chr(62)+" view.txt"

The only thing that works is using a batch file, but I want to do it using kix!

Can anyone help me?

Tanx Hans.

Top
#3394 - 2000-06-30 05:31 PM Re: something > textfile
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Medman:

You have to wrap things in %comspec% to get re-direction to work - example:

shell "%comspec% /c net view > view.txt"

Shawn.


Top
#3395 - 2000-06-30 06:49 PM Re: something > textfile
BoxKite Offline
Da Box
*****

Registered: 2000-05-17
Posts: 282
Loc: Vacaville,CA,USA
Medman:

Rember: > creates a new file.
>> appends to file, or creates if not exsist.

_________________________
Box
FACTA NON VERBA

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1452 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.052 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org