home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,798 of 68,980   
   Ammammata to All   
   Re: Batch file for compressing code   
   15 Oct 21 10:38:46   
   
   From: ammammata@tiscalinet.it   
      
   Il giorno Fri 27 Aug 2021 02:04:02p, *Harry Potter* ha inviato su   
   alt.msdos.batch.nt il messaggio news:e411ea98-1d77-46f6-b711-   
   d878afe8a7a8n@googlegroups.com. Vediamo cosa ha scritto:   
      
   > set cpa=%temp%   
   >::Make a work dir. and switch to it.   
   > md "%cpa%\hptemp"   
   > md "%cpa%\hptemp\%~nx1"   
   > cd /d "%cpa%\hptemp\%~nx1"   
      
   I presume this works fine ALWAYS, otherwise the next would be a mess   
      
   >::Copy all files to temp. workspace.   
   > xcopy %1 /e /i   
   >::Delete files that can be re-built.   
   > del /s /q *.prg *.obj *.map *.d64 *.exe *.o   
   >   
      
   did you tested all the possible events i.e. the user customized the %temp%   
   folder?   
      
   --   
   /-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\   
   -=- -=- -=- -=- -=- -=- -=- -=- - -=-   
   ........... [ al lavoro ] ...........   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca