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 41,470 of 42,547   
   foxidrive to sean   
   Re: mapping drives over 26   
   10 Oct 16 05:21:27   
   
   From: foxidrive@server.invalid   
      
   You don't have to mount the drives and can access then using the UNC path,   
   sorta like this.   
      
   \\192.168.1.5\share\etc   
      
      
      
      
   On 9/10/2016 16:29, sean wrote:   
   > Hi All,   
   >   
   > I have a script to mount drives of clients to fetch some data and save   
   > the results to a file and an sqlite3 database. I'm using net use to map   
   > the drives and once the script is completed, the I unmount all mounted   
   > drives on the server. The script reads the IPs of the clients in a   
   > separate text file and mounts the drives.   
   >   
   > The (untested) problem is that windows maps drives by letters. If I have   
   > a need to mount more than 26 drives, I don't know what would happen. I'm   
   > assuming, errors would be generated (but unseen) indicating there's no   
   > more drive letters left.   
   >   
   > Right now the workaround is fairly easy: make sure you don't try to get   
   > data from more than 26 clients at once. Is there a more elegant solution?   
   > Can my IP list have more than 26, but once it reaches that limit, I can   
   > set a timeout, unmap and move down the list?   
   >   
   > Alternatively, maybe I can have a few text files and it reads one at a   
   > time.   
   >   
   > Thanks for any input.   
   >   
   > -sean   
   >   
      
   --- 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