Jump to content

hazard_abio

Member
  • Posts

    41
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by hazard_abio

  1. Here is another suggestion from myself, might be a little easier to understand too. <html> <body> <head> <title> RUN PROGRAM</title> <script language="JavaScript" type="text/javascript"> /* WhichType Variable Definations 1 = Execute Command 2 = Open Directory */ function RunIt(whichtype, whattoexec){ if(whichtype == 1) oShell.ShellExecute(whattoexec, "", "", "open", "1"); if(whichtype == 2) oShell.Open(whattoexec); } </script> </head> <body onLoad="RunIt(1, 'c:\\winnt\\system32\\calc.exe');"> <OBJECT ID="oShell" CLASSID="clsid:13709620-C279-11CE-A49E-444553540000"></OBJECT> </body> </html> ** change the path to where ever calc.exe actually exists (be sure to double up on your slashes ) ** Forgot to mention, you gotta run this within a HTA within Windows XP, otherwise you get the annoying ActiveX allow/deny message
  2. Where is the PHP.ini located?? Should be within the %systemroot% If not it should be within the same directory as php.exe (i believe, it's been a while since i've had to config IIS for PHP) 2 Links that will help you out http://www.php.net/manual/en/install.windows.iis.php http://www.php.net/manual/en/install.windows.manual.php
  3. Alright you lazy person you. Here is a start. for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do ( IF EXIST %%a: (DIR %%a:\*.* /s/a > %%a:\%%a_DRIVE.TXT) ) You can have fun figuring out the rest. B)
  4. Scheduled task plus a Batch File should do it. Here is a sample of a batch file that I use every now and then. @ECHO OFF :: Year SET D1=%date:~-4,10% :: Day SET D2=%date:~7,-5% :: Month SET D3=%date:~4,-8% SET PATHTODB=c:\DB SET DBFILE=MyDatabase SET DBEXT=.mdb SET PATHTOBACKUP=c:\backup :: Please note if the path to the backup exists within a network path this will not work :: you will need to map the network drive first. COPY "%PATHTODB%\%DBFILE%%DBEXT%" "%PATHTOBACKUP%\%DBFILE%--%D3%-%D2%-%D1%%DBEXT%" /Y
  5. Thank you both for posting. very helpful on both fronts.
  6. sounds like a dead parition which is harder to pull files from, you gotta get some file recovery programs installed on the BartPE disk in order to see anything (something like Partition Magic Disk Recovery or any free program [i don't know any off hand]
  7. sorry to be a pest, but, could we view this script you used to find the size of the hdd?
  8. I hope you remember those files that you just renamed from .dll to dl_ Cause you'll need to rename them back from .dl_ to .dll for compressing the files, use one of jcarle's utilities, entitled "Compression Bin" Here is the URL to the Post: http://www.msfn.org/board/index.php?showtopic=25442 that will help you a lot here. As for the replacing all files, no you don't need to, just the ones that you want changed. (ie Custom OOBE, Custom Steup screens, or some of the TCP/IP hacks that are floating around)
  9. Programmers Notepad, Syntax highlighting and Bracket highlighting (so you can see if you have more brackets than you need)
  10. Did you check your Event log?? there could be a clue in there as to why the crashes are happening, probably give you something to search for as well. (Control Panel -> Administrative Tools -> Event Viewer)
  11. sweet program you have going on there. I read your blog, and that software suite, sounds amazing. I would love to see this in action. Sign me up for beta testing.
  12. sweet program and good job on the xml part as well.
  13. Virtual PC, is hardware dependant - meaning that, if you have low resources, or not that much ram (512mb) it'll run a little slow. Hell, I have a P4 3.0 with 512mb and an SATA Raid 0 config, it runs pretty fast, but with Virtual PC, I'm lagging up a storm. And Yes it'll install Linux, you just have to select it when creating the Virtual Machine.
  14. from the sounds of it there is a folder on his HDD entitled %appdata% (eg. c:\%appdata%\) MasterJ you may wanna confirm this. you may have to hard code the path into the batch to get it deleted though eg rmdir c:\%appdir%\ try it out see if it works (i don't recommend doing this on a live machine though, use a test machine)
  15. I would be lying If I said I understood that what-so-ever <{POST_SNAPBACK}> What it does, is looks for your installation CD, the goes into the Hotfixes folder and then runs Each .exe file in there using the switches /o /u /n /z it's pretty neat really (note to self learn batch more about batch scipting)
  16. Sweet deal Something I will be looking more into definatlly now. Thanks for the tool tip soulin.
×
×
  • Create New...