loading
6Comments

Tell us about yourself!

Complete Your Profile
  • How to download file on internet using CMD on Batchdown v.1.65

    bitsadmin /transfer OfficeAgent /download /priority normal http://link.com/fileyouwanttodownload.txt C:\file\path\to\download\toliterally thats all you need to download from cmdif you want to make it into a batch file with input then you could do@echo offset /p url=Download Link: set /p path=Save To: bitsadmin /transfer OfficeAgent /download /priority normal %url% %path%and thats all it is, no idea why his version would be 5kb, you could get this even smaller by putting it all on one line which would be something like. @echo off & set /p url=Download Link: & set /p path=Save To: & bitsadmin /transfer OfficeAgent /download /priority normal %url% %path%seriously, it doesnt take much to learn batch script, its just cmd, batch script is probably the easiest scripting langua...see more »bitsadmin /transfer OfficeAgent /download /priority normal http://link.com/fileyouwanttodownload.txt C:\file\path\to\download\toliterally thats all you need to download from cmdif you want to make it into a batch file with input then you could do@echo offset /p url=Download Link: set /p path=Save To: bitsadmin /transfer OfficeAgent /download /priority normal %url% %path%and thats all it is, no idea why his version would be 5kb, you could get this even smaller by putting it all on one line which would be something like. @echo off & set /p url=Download Link: & set /p path=Save To: & bitsadmin /transfer OfficeAgent /download /priority normal %url% %path%seriously, it doesnt take much to learn batch script, its just cmd, batch script is probably the easiest scripting language to learn -.-

    View Instructable »
  • knil92 commented on radame's instructable 5 Cool Batch Files3 months ago
    5 Cool Batch Files

    its so helpful right? i use that command and a vbs to make sure that backup routines for various servers are running correctly. All i have to do is open my e-mail and check the dir to make sure they have files from the current day and that they are the proper size XD

    on error resume nextConst schema = "http://schemas.microsoft.com/cdo/configuration/"Const cdoBasic = 1Const cdoSendUsingPort = 2Dim oMsg, oConf' E-mail propertiesSet oMsg = CreateObject("CDO.Message")oMsg.From = "username@gmail.com" ' or "Sender Name <from@gmail.com>"oMsg.To = "sendto@whoever.com" ' or "Recipient Name <to@gmail.com>"oMsg.Subject = "Subject here"oMsg.TextBody = "e-mail message here"' GMail SMTP server configuration and authentication infoSet oConf = oMsg.ConfigurationoConf.Fields(schema & "smtpserver") = "smtp.gmail.com" 'server addressoConf.Fields(schema & "smtpserverport") = 465 'port numberoConf.Fi...see more »on error resume nextConst schema = "http://schemas.microsoft.com/cdo/configuration/"Const cdoBasic = 1Const cdoSendUsingPort = 2Dim oMsg, oConf' E-mail propertiesSet oMsg = CreateObject("CDO.Message")oMsg.From = "username@gmail.com" ' or "Sender Name <from@gmail.com>"oMsg.To = "sendto@whoever.com" ' or "Recipient Name <to@gmail.com>"oMsg.Subject = "Subject here"oMsg.TextBody = "e-mail message here"' GMail SMTP server configuration and authentication infoSet oConf = oMsg.ConfigurationoConf.Fields(schema & "smtpserver") = "smtp.gmail.com" 'server addressoConf.Fields(schema & "smtpserverport") = 465 'port numberoConf.Fields(schema & "sendusing") = cdoSendUsingPortoConf.Fields(schema & "smtpauthenticate") = cdoBasic 'authentication typeoConf.Fields(schema & "smtpusessl") = True 'use SSL encryptionoConf.Fields(schema & "sendusername") = "username@gmail.com" 'sender usernameoConf.Fields(schema & "sendpassword") = "password here" 'sender passwordoConf.Fields.Update()' send messageoMsg.Send()Copy and paste into notepad, fill out the relevant sections such as username and password along with email from, email to, subject and message. Save the file as email.vbs. Then create a scheduled task to run the vbs file once a month

    View Instructable »