Welcome to our forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Forum Statistics

  • Forum Members:
  • Total Threads:
  • Total Posts: 1
There are 1 users currently browsing forums.
General Web Programming This is for more general discussion about web programming or other web programming languages such as XML, Mod_Rewrite, ColdFusion, CGI, VBScript, and Ruby on Rails.

Reply
  #1  
Old 06-29-2009
New Born
 
Join Date: Jun 2009
Posts: 1
Rep Power: 0
tysonmax20042003 is on a distinguished road
Question Batch scripting download problem!

Ht, I have a Batch scripting download problem! It is made from the virus removal tool SDFix when I found it uses scrips in a prompt terminal to download other tools and update and use the tool I looked at the source and came up with the code below rember I am a n00b coder who knows a little of scripting so don't make fun...LOL thanks in advance!!! It will not download and can't find the directory on xp or vista!!! P.S. the point of the tool is to update some of my other tools (ComboFix, SDFix, Smitfraud fix, Spybot, MBAM, SAS, etc...) I also want it to be sued in one folder with all the tools and hope to be transfered to usb sticks and other deives also. Code:
Code:
@echo off  TITLE Update Tools  
cd %systemdrive%\User\Default\Desktop\Update\  
cd %systemdrive%\Documents and Settings\Default User\  
color 1F  
cls
echo        Welcome to the tool to update all your security tools!!!  
echo        You need to be an administrator to use this tool!  
echo.  
echo              U. Download latest version of ComboFix  
echo.  
echo           (Active Internet Connection Required To Download Files)  
set /p Choice=Type U or E to Exit....  
if [%Choice%]==[u] goto Combofixupdate  
if [%Choice%]==[u] goto Combofixupdate      
For %%a in (U,u) do if not [%Choice%]==[%%a] goto End  
For %%a in (1,2,3,4,a,A,b,B,c,C,d,D,e,E,f,F,h,H,r,R,s,S,u,U,) do if not [%Choice%]==[%%a] goto End  
echo. 
echo.    
:Combofixupdate  
CLS  
IF EXIST Combofix.exe del /q ComboFix.exe  
echo.  
echo Downloading Latest Version of Combofix  
echo.  apps\download http://www.sophos.com/tools/sav32sfx.exe 
ComboFix.exe  
pause  
echo.  
IF NOT EXIST ComboFix.exe GOTO Combofixupdate    
CLS  
echo.  
echo.  
echo.  
echo.  
echo.  
echo.  
echo.  
echo.  
echo.  
echo.  
pause    
exit  
set update=%Version 1.240    
echo.  
echo.  
echo                            *** Combofix %update% ***  
echo.  
echo.   
echo.   
echo           This tool was developed with the greatest attention to detail,  echo            However, Use of this program is at your own discretion.   echo          The program is provided "as is" without warranty of any kind.   
echo.  
echo.    
pause    
:ComboFixnow  
start 
ComboFix.exe

Last edited by darkecho; 06-29-2009 at 08:22 PM.
Reply With Quote


Reply

Tags
batch scripting download


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collect 27 ebook learn php quyvphan PHP Articles 1 04-23-2009 05:52 PM
Download A file cancer10 PHP Scripting 7 09-27-2006 02:57 PM
upload fine, download says corrupted darkecho PHP Scripting 5 10-23-2005 07:59 AM
cs2 brushes problem? Mitch Graphics and Visuals 9 06-04-2005 03:33 PM
Mozilla Firefox 1.0 RELEASED! | Download Here! Shane Chit Chat and Hangout 5 01-21-2005 09:14 AM