listing only a certain filetype in cmdprompt when using dir - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: listing only a certain filetype in cmdprompt when using dir (
/showthread.php?tid=222481)
listing only a certain filetype in cmdprompt when using dir -
legodude - 07.02.2011
the title sais it all.
i know it is not too relevant but i need this for my script. it only needs to show the .exe files in the samp server.
Re: listing only a certain filetype in cmdprompt when using dir -
JaTochNietDan - 07.02.2011
Simply add an extra parameter with a wildcard followed by the file extension, like so:
If you need to find any additional information in a command in Windows, just add a "/?" parameter without the quotes.
Re: listing only a certain filetype in cmdprompt when using dir -
saiberfun - 07.02.2011
why would you need to list the exe files?
usually they have the same name as always^^