magicdanw Posted March 23, 2007 Share Posted March 23, 2007 Hi! This is my first post, but I've been reading the forums for a while, and they're great! I've set up my own switchblade, but have been annoyed with plugging it into a computer to just read files and having it automatically pwn the system. I had the idea of using the read-write switch on the drive to serve as a safety catch of sorts, and the batch file could check if the drive is writable. If not, it will exit prematurely. However, my current method of writing to a new file and checking if it exists doesn't work well because windows gives nice big loud popup errors if it's unable to write. Is there any way to make the ">" or "mkdir" or "attrib" commands less "verbose", or is there another way to check if a drive is writeable, all from a batch file/command-line utility? Thanks for your help, and thanks for the great switchblade tutorials! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.