28. december 2001 - 11:04Der er
2 kommentarer og 1 løsning
Batch Script
Lets say I have 100 zipped files together with a utility to unzip them. This utility works only in command line and it is not winzip or anything you know. Lets call the comprimed files for *.poh and the extraction utility called unpoh.exe
So the 100 *.poh files are together in a folder with the unpoh.exe file.
What I would like to do is via command line have a batch file which would take the first *.poh file (regardless of name) and put the extracted content in another folder named after the file name.
De fleste virksomheder har efterhånden bevist, at AI virker.
Pilotprojekter leverer resultater. Medarbejdere bruger generative AI-værktøjer. Nye use cases dukker op på tværs af organisationen.
You need either a \"unpoh.exe\" that works with wildcards or a script (vb, java or other) that feeds unpoh.exe with a range of filenames in some kind of loop.
Btw... 500 points are way too many... 60 is default for a difficult question...
It should be possible with a FOR statement I think, xxxx.poh (100 files all in same dir.) unpoh.exe (utility to extract)
I dont know, but I think it is possible to do a batch script that says make a directory with the xxxx.poh name (not extession) and then put the xxxxx.poh extraction in there. Then go to file two and do the same.
The command to extract is nothing but: unpoh -u xxxxx.poh
This has to be done in Batch Script.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.