🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Batch problem

#3623
From: Ari Pitkanen
Date: Thu, 12 Nov 1992 19:18
27 lines
906 bytes

How do I pass '%%f' to 'DoIt'?  This approach don't work.

---
:Main
cd scene
for %%f in (*.*) do goto DoIt   REM copy filename to %%f
goto End

:DoIt
cd..
trace scene\%%f                 REM %%f don't contain the filename :(
copy scene\%%f traced
del scene\%%f
cd..
goto Main

:End
cd..

---

Ari

-- 
Ari Pitkanen : au240@cleveland.freenet.edu
Technical Details
Message-ID: <1dualbINN52t@usenet.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!au240

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!au240
From: au240@cleveland.Freenet.Edu (Ari Pitkanen)
Newsgroups: comp.os.msdos.programmer
Subject: Batch problem
Date: 12 Nov 1992 19:18:03 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Lines: 27
Message-ID: <1dualbINN52t@usenet.INS.CWRU.Edu>
Reply-To: au240@cleveland.Freenet.Edu (Ari Pitkanen)
NNTP-Posting-Host: hela.ins.cwru.edu