Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / How to list Drives?

Author
Message
hakimfullmetal
9
Years of Service
User Offline
Joined: 17th Feb 2015
Location:
Posted: 16th Jul 2016 03:48
Hello everybody.

Anybody knows how to return a list of a computer drives?
C:\, D:\
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 16th Jul 2016 05:12 Edited at: 16th Jul 2016 05:12
I don't think they want you to do that because it's a sandbox thingy but maybe if you iterate through the drive letters (Excluding A, B and D) using SetRawWritePath("C:\") then try open the "." filename.
I'm just guessing here, it sounds logical, although you'll run into problems if they have multiple CD/DVD drives
hakimfullmetal
9
Years of Service
User Offline
Joined: 17th Feb 2015
Location:
Posted: 16th Jul 2016 10:59
Genius.

Or is it that I'm an idiot?

Login to post a reply

Server time is: 2024-11-23 23:04:50
Your offset time is: 2024-11-23 23:04:50