
September 11th, 2000, 05:20 AM
|
|
Junior Member
|
|
Join Date: Sep 2000
Location: Milton Keynes, Bucks, England
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
if I have this in my script on the unix server;
@lines = 'ls -Atl *';
the command ls -Atl * is run and the result stored in @lines.
If I have this in my script on my windows machine;
@lines = 'dir/4/od';
well, it doesn't work. Double-quoting it just stores it as a string.
Can someone tell me how to write for Win 32 so that a command like the dir above is actually executed (and so that I can store the output in my array).
Cheers
------------------
|