-
T
Windows 11 How Can I Replace First Hyphen in a Folder's Name but Leave All Other Hyphens in it Unchanged?
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...- tatihulot
- Thread
- 2025 music automation batch file batch renaming central folder command line file management file names file operations folders hyphen music collection programming help python rename folder scripting user help windows
- Replies: 3
- Forum: Programming and Scripting
-
What sort algorithm is this?
Hi. Does anyone recognize this sort algorithm? BOOL swap; tagFileNode* TempNode; int i, j, diff = 0; for (j = _NodeCount / 2; j > 0; j /= 2) { swap = true; while (swap) { swap = false; for (i = 0; i + j < _NodeCount; ++i) { if (compare(_NodeList[i...- Alex Sokolek
- Thread
- algorithms bubble sort c programming code computer science data structures merge sort performance programming help sorting
- Replies: 5
- Forum: Windows Software
-
E
Windows 10 Access Violation When Iterating Through SCSI Slots
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 |...- ExylonFiber
- Thread
- access violation c++ programming code snippet coding debugging deviceiocontrol error handling firmware hardware interaction hdd ioctl iteration memory management programming help scsi scsi slots srb control storage firmware windows
- Replies: 3
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
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...- ExylonFiber
- Thread
- access c++ code snippet createfile data access diagnostics disk error file access file management handle kernel-mode programming help storage devices visual studio windows api
- Replies: 5
- Forum: Programming and Scripting
-
VIDEO Take A Longer Length Of String
:p- whoosh
- Thread
- extend string length programming help string length string manipulation
- Replies: 1
- Forum: The Water Cooler
-
A
Windows 7 How to get drive letter of USB device on Win7
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...- at2009
- Thread
- api errors app development coding challenge computer help device name drive letter iwmdmdevice portable programming help removable drives software development tech support usb user query vista compatibility windows 7 windows forum wmdm xp compatibility
- Replies: 2
- Forum: Programming and Scripting