macro that will list all the filenames (including their creation date, modification date, hyperlink file path) in all the folders and sub-folders of a

papajups

Board Regular
Joined
Sep 8, 2012
Messages
166
Good day All,


Hope all is well.

I humbly ask for your assistance, and help me have a macro that will list all the filenames (including their creation date, modification date, hyperlink file path) in all the folders and sub-folders of the below directory:

O:\ITSC\RSG


I would greatly appreciate your assistance on this matter.


regards,
Papajups
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi,

the easy way is to go back to the time before windows:

Code:
cmd:>dir o:\itsc\rsg\*.* /s/b > c:\temp\myList.txt

It is possible to use this command in a vba-macro, but I hesitate to copy.

regards
 
Upvote 0
Good day Fennek,


Thank you for your response.

Could you please tell me how I can run this code?
Code:
[COLOR=#333333]cmd:>dir o:\itsc\rsg\*.* /s/b > c:\temp\myList.txt[/COLOR]

Appreciate your help.


regards,

Papajups
 
Upvote 0
Hi,

well, I have forgotton the English wording:

Right-click on the windows-button in the task-row. Then you see something like "run", "execute" or "Powershell". This should either open a shell directly or, if an input-box, type "cmd.exe".

In the "black window" type the code from my previous post.

(c:\temp must exist)

regards
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top