Jump to content

SilverBulletUK

Member
  • Posts

    59
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by SilverBulletUK

  1. Well, with PHP you can do the following.... <?php function someFunction($messageString = null) { if($messageString != null) { //Do something } else { //Do something else with user defined $messageString } } ?> Is this not possible? Maybe by specifing a default value?
  2. **** it, I should really test this stuff before I post. !! Back to the command line I go.. Sorry!
  3. FOR /f "usebackq tokens=1" %%i IN (`net use * %SHARE% %PASSWORD% /user:%USERNAME% /PERSISTENT:NO`) DO @echo %%i or FOR /f "usebackq delims= "" tokens=1" %%i IN (`net use * %SHARE% %PASSWORD% /user:%USERNAME% /PERSISTENT:NO`) DO @echo %%i ? maybe
  4. Tools > Option > Calculation It should read 'Automatic'. Good Luck!!!
  5. Here ya go.... I've got one, seems to work fine http://www.dabs.com/ProductView.aspx?Quicklinx=3B7K £59.94 Delivered.
  6. START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED] [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMA [/WAIT] [/B] [command/program] [parameters] "title" Title to display in window title bar. path Starting directory B Start application without creating a new window. The application has ^C handling ignored. Unless the applic enables ^C processing, ^Break is the only way to inter the application I The new environment will be the original environment p to the cmd.exe and not the current environment. MIN Start window minimized MAX Start window maximized SEPARATE Start 16-bit Windows program in separate memory space SHARED Start 16-bit Windows program in shared memory space LOW Start application in the IDLE priority class NORMAL Start application in the NORMAL priority class HIGH Start application in the HIGH priority class REALTIME Start application in the REALTIME priority class ABOVENORMAL Start application in the ABOVENORMAL priority class BELOWNORMAL Start application in the BELOWNORMAL priority class WAIT Start application and wait for it to terminate You could run it from a batch script using the above command line, works for me!
  7. You will have trouble setting the adaptor via the registry as the adaptor setting lie under a unique ID, you can however configure it from the command line using NETSH. Hope this helps.! SilverB.
  8. This should work, you were nearly there though!! [EDIT] Sorry, I just notcied your error. Net View & Net Localgroup do NOT support the /ALL switch. What exactly are you trying to do? SilverB.
  9. Dont mean to go off topic, but..... Wow, just, wow... ***Bows before Cluberti***
  10. I suppose its possible..... I did initally think you could parse the directory listing of ftp://ftp.download.nvidia.com then just use the highest number to download from... However, it ends up downloading the vista drivers..... I guess, you could, after parsing out the highest numbered folder, then parse the filename to find winxp.... hmmmmmm
  11. Hi all, In my eagerness to install a non-signed Theme, I, erm, tried to hack my SFC_OS.dll and buggered it up. I no longer have a working one, as i forget to backup the original... Would it pleeeeease be possible for someone to provide me copy? Win XP Pro, SP2 English. Thanks, SilverB.
  12. ORANGE! ORANGE!!! What were they thinking!!!! Any chance somebody can change this for me?! Cheers! SilverB. ZUNE_THEME.zip
  13. Hi all, [in Brief] Currently I have a wireless router in the living room with a laptop connected to it, the laptop has a 160gb network share on it. My question is this, can I just scrap the wireless router, connect my cable modem direct to my laptop, add a USB wireless dongle, install Windows 2003 server and somehow make a PC based Wireless Access Point / Router?? It seems a bit pointless to have 2 items drawing umpteen amount of watt-age when 1 could do.... Ideas? A guide to perform this would be much appreciated! Thanks, SilverB.
  14. Right click taskbar>Select Properties>Click Customise Select Always Hide Connection....
  15. Erm, you may have to forgive me, but... I've just re-installed windows and have set WU to "Notify me but don't automatically download or install them". Upon browsing the updates to be download and installed I noticed KB905474( Windows Genuine Advantage) was not listed.... Any ideas whats going on...? Am I the first to see this?? Just curious..
  16. Could you please state the INTERNAL IP address of your router? Once we have that, we could try to assign the client a static IP on the same range and try it then.. EDIT: Actually,,,,,,, how exactly are you configuring the router? I'm guessing from another machine via web admin???
  17. That address is in a range which XP allocates when it cannot find one from your DHCP, it will say something like Private Adressing if memory serves me right. It sounds as if your system is not talking to the router at all. Can you.... Start>Run> Type CMD Press [enter] Type IPCONFIG /all>>c:\IPLOG.TXT Press [enter] and post the results of the above text file here? It would help greatly. NB: The text file is located @ C:\IPLOG.TXT
  18. I use this batch / ini combo on my XP CD, theres prob a much better way but I find it works a charm! http://www.msfn.org/board/index.php?showtopic=83138&hl=
  19. As an after thought, to add a few users, and add them to groups try this... AddUsers.bat @Echo Off FOR /F "skip=14 tokens=1,2,3 delims=:" %%a IN (Users.ini) DO CALL :ProcessINI %%a %%b %%c GOTO :EOF :ProcessINI Set XPCDUser=%~1 Set XPCDPass=%~2 Set XPCDGroup=%~3 IF '%XPCDUser%'=='' GOTO :USRCLEAN IF '%XPCDPass%'=='' SET XPCDPass=password IF '%XPCDGroup%'=='' SET XPCDGroup=Users NET USER %XPCDUser% %XPCDPass% /ADD>>NUL Echo %XPCDUser% added to local system accounts NET LOCALGROUP "%XPCDGroup%" %XPCDUser% /ADD>>NUL Echo Added %XPCDUser% to %XPCDGroup% group :USRCLEAN Set XPCDUser= Set XPCDPass= Set XPCDGroup= :EOF Users.ini :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::Please all user accounts to be added to the local machine ::::under the [StartUserAccounts] label, in the following format; :::: ::::Example1= Jamie:Jamiespassword:Administrators ::::Example2= Helen:secret:Users :::: ::::Context: Username:Password:Group :::: ::::Please ensure to use ':' and not ';' in user lines. :::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: [StartUserAccounts] Just add all the users you need in the Users.ini file, each on a new line.
  20. Heya, You Could use the line: net localgroup "Administrators" username /add Or... @Echo Off Cls ::Enter username to be added Set ChangeUser=Chris.Casey ::Enter group user to be added to Set DestinationGroup=Administrators Echo Adding user... NET LOCALGROUP "%DestinationGroup%" %ChangeUser% /Add Echo. Echo Added %ChangeUser% to the %DestinationGroup% group. Echo. Pause Exit Save as adduser.bat Hope this helps!! SilverB.
  21. Did you guys manage to sort out what tag WU looks for? It seems my solution is a bit hit and mit on the test systems here.... :@
  22. Very interesting, great work guys.! When i written the batch i wasnt sure what Windows Update looked for when updating so I just had a 'stab in the dark' so to speak. Thanks for the ".log" and not ".txt" pointer Gee, much appreciated! SilverB
×
×
  • Create New...