Search found 6 matches

by SweetTasha
2024-Mar-10, 10:31 pm
Forum: Windows CMD Shell
Topic: Get a sorted list of the files in Windows OneDrive.
Replies: 4
Views: 537

Re: Get a sorted list of the files in Windows OneDrive.

Thanks Simon.I used the robocopy example.
Phil/SweetTasha
by SweetTasha
2024-Mar-07, 8:07 pm
Forum: Windows CMD Shell
Topic: Get a sorted list of the files in Windows OneDrive.
Replies: 4
Views: 537

Get a sorted list of the files in Windows OneDrive.

A file that one needs to share with another device at the same physical location must be stored on OneDrive. Windows imposes a total 5GB limit for the files stored in OneDrive. I need to get a list of all the files in OneDrive sorted by file size. To get the list using Windows File Explorer, I woul...
by SweetTasha
2023-Dec-31, 12:37 am
Forum: Windows CMD Shell
Topic: Create a CMD task that uses a small amount of cpu
Replies: 1
Views: 1453

Create a CMD task that uses a small amount of cpu

I'm troubleshooting a Windows task that is monopolizing cpu usage. I want to create a CMD task that utilizes a small amount of cpu, say 1-5%, to observe whether it get's enough priority to execute while the high usage task is eating up most of the cpu cycles. I realize that my requirements are a bit...
by SweetTasha
2022-Jun-13, 6:11 pm
Forum: Windows CMD Shell
Topic: wmic diskdrive command invalid query
Replies: 2
Views: 2287

Re: wmic diskdrive command invalid query

get name fixed it. thanks. SweetTasha
by SweetTasha
2022-Jun-13, 12:52 am
Forum: Windows CMD Shell
Topic: wmic diskdrive command invalid query
Replies: 2
Views: 2287

wmic diskdrive command invalid query

wmic diskdrive getName, Manufacturer, Model, InterfaceType, MediaType, SerialNumber I got this command from an article explaining how to get the volume serial number for my System Hard Drive. I also need to use it for other drives, such as USB flash drives. Here's an image of the Command Prompt comm...
by SweetTasha
2021-Sep-11, 4:40 am
Forum: Windows CMD Shell
Topic: display the count of files in folders
Replies: 1
Views: 4334

display the count of files in folders

Is there a CMD that will show the number of files in a given folder. Perhaps even traverse the tree. Like suppose I have a folder called Documents with subfolders A and B, subfolder A has 3 subfolders and B has 2 So the "tree" looks like this: C;/Documents A A1 A2 A3 B B1 B2 The command I'...