Hello and Happy New Year.
I’d like some advice and suggestions on how to perform a specific task involving batch renaming a large group of folders.
I want to rename over 5,000 folders a certain way. I don’t have to rename them all at once. They are all in one central folder, at least for now...
2025 music
automation
batch file
batch renaming
central folder
command line
file management
file names
file operations
folders
hyphen
music collection
programminghelp
python
rename folder
scripting
user help
windows
I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time?
HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...
I cannot open a handle to any of my storage devices.
HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS,
0, OPEN_EXISTING, 0, 0);
I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...
access
c++
code snippet
createfile
data access
diagnostics
disk
error
file access
file management
handle
kernel-mode
programminghelp
storage devices
visual studio
windows api
Using WMDM I have created a small application to read portable device information, my application works fine on vista and XP but has one problem on Win7.
Problem: I am not able to get drive letter of USB device.
I am calling GetName of IWMDMDevice interface, on XP & VISTA this API returns...
api errors
app development
coding challenge
computer help
device name
drive letter
iwmdmdevice
portable
programminghelp
removable drives
software development
tech support
usb
user query
vista compatibility
windows 7
windows forum
wmdm
xp compatibility