- Nov
- 344
- 10
Let's say that I have the following output from pdir:
C:\Users\Miguel\Documents\example>pdir /S/(fpn) *.txt
C:\Users\Miguel\Documents\example\test.txt
C:\Users\Miguel\Documents\example\deeper\cafest.txt
C:\Users\Miguel\Documents\example\deeper\even\matest.txt
C:\Users\Miguel\Documents\example\deeper\even\deeper\tilest.txt
I'd like to have a new option to display the relative path to wherever the disk's current directory is. The output from the above example would become:
C:\Users\Miguel\Documents\example>pdir /S/(fXn) *.txt
.\test.txt
.\deeper\cafest.txt
.\deeper\even\matest.txt
.\deeper\even\deeper\tilest.txt
Thanks.
C:\Users\Miguel\Documents\example>pdir /S/(fpn) *.txt
C:\Users\Miguel\Documents\example\test.txt
C:\Users\Miguel\Documents\example\deeper\cafest.txt
C:\Users\Miguel\Documents\example\deeper\even\matest.txt
C:\Users\Miguel\Documents\example\deeper\even\deeper\tilest.txt
I'd like to have a new option to display the relative path to wherever the disk's current directory is. The output from the above example would become:
C:\Users\Miguel\Documents\example>pdir /S/(fXn) *.txt
.\test.txt
.\deeper\cafest.txt
.\deeper\even\matest.txt
.\deeper\even\deeper\tilest.txt
Thanks.