🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1046

Another MsDos batch programming challenge

#1046
From: Timo Salmi
Date: Sat, 29 Aug 1992 06:35
17 lines
1243 bytes
I have another MsDos batch programming challenge for you (I already
have a solution).  Write a batch that returns (sets an environment
variable) to give the current directory.  Only MsDos internal and
external commands are allowed.  (The MsDos command.com command
interpreter is to be assumed.  Not 4DOS, not DRDOS.)

As you'll recall, I'll utilize these tricks in the next version
TSBAT37.ZIP batch file and tricks collection.  (Yes, Yossi, your
inventive config.sys shell nul trick has been noted, and amplified
just a bit.  Forthcoming).  The current version of TSBAT is
 88069 Aug 7 02:16 garbo.uwasa.fi:/pc/ts/tsbat36.zip. 

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Technical Details
Message-ID: <1992Aug29.063552.26386@uwasa.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
From: ts@uwasa.fi (Timo Salmi)
Subject: Another MsDos batch programming challenge
Message-ID: <1992Aug29.063552.26386@uwasa.fi>
Organization: University of Vaasa, Finland
Date: Sat, 29 Aug 1992 06:35:52 GMT
Lines: 17