home bbs files messages ]

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

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

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

   Message 40,828 of 42,547   
   Harry Potter to Todd Vargo   
   Re: Long filename parameter in Win98 bat   
   11 Dec 13 05:48:30   
   
   From: rose.joseph12@yahoo.com   
      
   On Tuesday, December 10, 2013 6:19:13 PM UTC-5, Todd Vargo wrote:   
   > On Win9x systems, LFNs are only available with Windows running. With    
   > Windows running, you need to double quote files names passed to the    
   > batch. If you need further help, explain how you are running the batch    
   > and how you are currently passing the filenames to the batch.   
   >    
   The computer is operating in Windows mode.  I created a batch file that   
   compresses an executable file passed via parameter 1 using UPX.  I'm using a   
   batch file so I can see the output of the compressor.  Then I edited the   
   registry so that right-clicking    
   an .exe file shows two options to compress the file in two ways.  I also want   
   to do similar tricks with other designs as well.  The problem is that, whether   
   I use quotes or not, the parameter always returns a short filename.   
      
   BTW, is there a way to extract just a filename from a path without resorting   
   to using an external executable?   
      
   --- 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