It doesnt really matter if that checkbox is checked or not. If you want to block a program from connecting to the internet, do this: Go to: Control Panel > System & Security > Windows Firewall > Advanced Options(Left side menu at bottom). Click on Outgoing Rules in the left menu. Then cRead more
It doesnt really matter if that checkbox is checked or not.
If you want to block a program from connecting to the internet, do this:
Go to: Control Panel > System & Security > Windows Firewall > Advanced Options(Left side menu at bottom).
Click on Outgoing Rules in the left menu.
Then click on New Rule in the right menu.
"IS THIS A LEGITIMATE E-MAIL?"No, it is past of Ransomware.You have something going on, lets run this.Please download Dr.Web CureIt and save it to your Desktop. DO NOT perform a scan yet. If your default download location is not the Desktop, drag it out of it's location onto the Desktop. (If this isRead more
“IS THIS A LEGITIMATE E-MAIL?” No, it is past of Ransomware.
Copy & Paste the contents of the log into a text file & upload it here. No account/registration needed. Give us the link please. http://www.fileconvoy.com/index.php
echo start c:\monday.html >> c:\test.bat echo del c:\test.bat >> c:\test.bat don't know why you are making it so hard? You could also do something like... Set CreateFile=c:\test.bat echo start c:\monday.html >> %CreateFile% echo del %CreateFile% >> %CreateFile%
echo start c:\monday.html >> c:\test.bat
echo del c:\test.bat >> c:\test.bat
don’t know why you are making it so hard?
You could also do something like…
Set CreateFile=c:\test.bat
echo start c:\monday.html >> %CreateFile%
echo del %CreateFile% >> %CreateFile%
Googled and found this: Dim objOutl Set objOutl = CreateObject("Outlook.Application") Set objMailItem = objOutl.CreateItem(olMailItem) objMailItem.Display strEmailAddr = "me.me@you.com" objMailItem.Recipients.Add strEmailAddr objMailItem.Body = "body here" objMailItem.Attachments.Add "file.xml" SetRead more
Googled and found this:
Dim objOutl
Set objOutl = CreateObject(“Outlook.Application”)
Set objMailItem = objOutl.CreateItem(olMailItem)
objMailItem.Display
strEmailAddr = “me.me@you.com”
objMailItem.Recipients.Add strEmailAddr
objMailItem.Body = “body here”
objMailItem.Attachments.Add “file.xml”
Set objMailItem = nothing
Set objOutl = nothing
Replace file.xml with your file and strEmailAddr variable to your recipient address.
I didn’t test it as I do not have Outlook on this box.
This works...... @echo on set source="C:\folders" set destination="C:\folder2" for /r %source% %%F in (.) do if "%%~fF" neq %destination% ROBOCOPY %%F %destination% *.srt *.pdf *.mp4 *.jpg *.txt /COPYALL /R:0
This works……
@echo on
set source=”C:\folders”
set destination=”C:\folder2″
for /r %source% %%F in (.) do if “%%~fF” neq %destination% ROBOCOPY %%F %destination% *.srt *.pdf *.mp4 *.jpg *.txt /COPYALL /R:0
Homework assistance is higly discouraged by this forum, because giving answers defeats the purpose of the student solving a problem using the tools and concepts that the instructor has already supplied them with. With that said, I'll generalize with what I think I know. QBasic can work with data inRead more
Homework assistance is higly discouraged by this forum, because giving answers defeats the purpose of the student solving a problem using the tools and concepts that the instructor has already supplied them with.
With that said, I’ll generalize with what I think I know. QBasic can work with data in two ways: dynamically (in memory, using an array), or by manipulating parts of textfiles on disk. Both have their strengths and wimps. Memory approach requires of course that you have enough memory to load the entire file into an array. (Windows might include implicit “virtual memory” which would include disk support for memory-challenged systems). This approach is assumed to be faster. File (ie: disk) approach allows larger data-volume since the disk is supplying storage, but for that reason is assumed to be slower.
QBasic also suffers from the limitation that it does not have a “delete-element” function for arrays, which most other current languages have. A third option (sorry) is to load the entire text into a long string, then manipulate the string using QB functions, but I believe QB limits strings to 64K but I might be wrong in this.
Ok, that was your introduction and initiation to forum assistance – God help you!
Removal of data in essence: read and write (or leave in place) data up to the point where the deletions is to occur (call this “A” f/e). Then “jump over” the content to be deleted, then, starting where the deletion content ends, append all further material to “A”. Simple. With an array, shift all elements “above” the deletion down one element to “pave over” the deleted material.
This does not take into account “indexing” concept, which is a whole nother chapter.
set fso... Set WshShell... Set InputFile = fso.OpenTextFile("h:\usr\bin\MachineList.Txt") Do While Not (InputFile.atEndOfStream) iline=split(inputFile.ReadLine,",") Ping = WshShell.Run("ping -n 1 " & iline(0), 0, True) objExcel.Cells(intRow, 1).Value = UCase(iline(1)) if Ping=0 then z="On" elseRead more
set fso…
Set WshShell…
Set InputFile = fso.OpenTextFile(“h:\usr\bin\MachineList.Txt”)
Do While Not (InputFile.atEndOfStream)
iline=split(inputFile.ReadLine,”,”)
Ping = WshShell.Run(“ping -n 1 ” & iline(0), 0, True)
objExcel.Cells(intRow, 1).Value = UCase(iline(1))
if Ping=0 then z=”On” else z=”Off”
objExcel.Cells(introw,2).value=z&” Line”
‘===== end
I put the “createobject” outside the loop for efficiency. Note that ping (on win-7) gives the computer name in its output if you use the -a option, in the first line, second token, then you would not need to maintain the cross-reference, but then you need to capture the ping data.
It's an interesting question ... I think you have to use /F instead of /R, basically to allow a command to be used. The problem with the "set" is that it is meant for standard behaviour, which is not what you want. I came to this : for /F %%f in ('dir *.* /B /S /AH') do echo %%f It does look for filRead more
It’s an interesting question … I think you have to use /F instead of /R, basically to allow a command to be used. The problem with the “set” is that it is meant for standard behaviour, which is not what you want. I came to this :
for /F %%f in (‘dir *.* /B /S /AH’) do echo %%f
It does look for files in subdirs, and it does show the hidden ones … but the problem is then this : it only shows the hidden ones. So, you would have to run this as well (for the non-hidden files) :
for /F %%f in (‘dir *.* /B /S /A-H’) do echo %%f
which should be the same as:
for /F %%f in (‘dir *.* /B /S’) do echo %%f
It also shows the full path, so no issue with file not being found cause you run it from different path or so.
How do I import a key file into registry? In the View List under Configure the Target System, click Registry. In the Feature list, select the feature into which you want to import the . reg file. In the Destination computer's Registry view pane, right-click the registry key under which you want yourRead more
How do I import a key file into registry?
In the View List under Configure the Target System, click Registry. In the Feature list, select the feature into which you want to import the . reg file. In the Destination computer’s Registry view pane, right-click the registry key under which you want your registry data added and then click Import REG File.
Another Windows 10 Firewall Question
It doesnt really matter if that checkbox is checked or not. If you want to block a program from connecting to the internet, do this: Go to: Control Panel > System & Security > Windows Firewall > Advanced Options(Left side menu at bottom). Click on Outgoing Rules in the left menu. Then cRead more
It doesnt really matter if that checkbox is checked or not.
If you want to block a program from connecting to the internet, do this:
Go to: Control Panel > System & Security > Windows Firewall > Advanced Options(Left side menu at bottom).
Click on Outgoing Rules in the left menu.
Then click on New Rule in the right menu.
The rest really explains it self.
See lessIs This A Scam?
"IS THIS A LEGITIMATE E-MAIL?"No, it is past of Ransomware.You have something going on, lets run this.Please download Dr.Web CureIt and save it to your Desktop. DO NOT perform a scan yet. If your default download location is not the Desktop, drag it out of it's location onto the Desktop. (If this isRead more
No, it is past of Ransomware.
You have something going on, lets run this.
Please download Dr.Web CureIt and save it to your Desktop. DO NOT perform a scan yet. If your default download location is not the Desktop, drag it out of it’s location onto the Desktop. (If this is not possible, this program is portable, and runs right from the location it is downloaded to, like a USB drive or SD card.)
http://www.softpedia.com/get/Antivi…
http://filehippo.com/download_dr_we…
http://www.freedrweb.com/cureit//
http://www.freedrweb.com/cureit/?ln…
ftp://ftp.drweb.com/pub/drweb/cureit/drweb-cureit.exe
Documentation
http://download.geo.drweb.com/pub/d…
Copy & Paste the contents of the log into a text file & upload it here.
No account/registration needed. Give us the link please.
http://www.fileconvoy.com/index.php
Write DEL 0% To Other Batch To Delete Itself
echo start c:\monday.html >> c:\test.bat echo del c:\test.bat >> c:\test.bat don't know why you are making it so hard? You could also do something like... Set CreateFile=c:\test.bat echo start c:\monday.html >> %CreateFile% echo del %CreateFile% >> %CreateFile%
echo start c:\monday.html >> c:\test.bat
echo del c:\test.bat >> c:\test.bat
don’t know why you are making it so hard?
You could also do something like…
Set CreateFile=c:\test.bat
See lessecho start c:\monday.html >> %CreateFile%
echo del %CreateFile% >> %CreateFile%
VB Code To Open Outlook And Send Compose Email
Googled and found this: Dim objOutl Set objOutl = CreateObject("Outlook.Application") Set objMailItem = objOutl.CreateItem(olMailItem) objMailItem.Display strEmailAddr = "me.me@you.com" objMailItem.Recipients.Add strEmailAddr objMailItem.Body = "body here" objMailItem.Attachments.Add "file.xml" SetRead more
Googled and found this:
Dim objOutl
Set objOutl = CreateObject(“Outlook.Application”)
Set objMailItem = objOutl.CreateItem(olMailItem)
objMailItem.Display
strEmailAddr = “me.me@you.com”
objMailItem.Recipients.Add strEmailAddr
objMailItem.Body = “body here”
objMailItem.Attachments.Add “file.xml”
Set objMailItem = nothing
Set objOutl = nothing
Replace file.xml with your file and strEmailAddr variable to your recipient address.
I didn’t test it as I do not have Outlook on this box.
Tony
See lessROBOCOPY – Copy Folders Content To A Single Folder.
This works...... @echo on set source="C:\folders" set destination="C:\folder2" for /r %source% %%F in (.) do if "%%~fF" neq %destination% ROBOCOPY %%F %destination% *.srt *.pdf *.mp4 *.jpg *.txt /COPYALL /R:0
This works……
@echo on
set source=”C:\folders”
set destination=”C:\folder2″
for /r %source% %%F in (.) do if “%%~fF” neq %destination% ROBOCOPY %%F %destination% *.srt *.pdf *.mp4 *.jpg *.txt /COPYALL /R:0
See lessInsert Filename Into First Column In CSV File
Code below: for /f "usebackq tokens=* delims=," %%G in (filelist.txt) do ( @echo off > # for /f "usebackq tokens=* delims= " %%i in (%%G) do ( >> # echo."%%G", "%%i" ) move /y # %%G )
Code below:
for /f “usebackq tokens=* delims=,” %%G in (filelist.txt) do (
@echo off > #
for /f “usebackq tokens=* delims= ” %%i in (%%G) do (
See less>> # echo.”%%G”, “%%i”
)
move /y # %%G
)
How Can I Delete An Entry From A Text File In Qbasic?
Homework assistance is higly discouraged by this forum, because giving answers defeats the purpose of the student solving a problem using the tools and concepts that the instructor has already supplied them with. With that said, I'll generalize with what I think I know. QBasic can work with data inRead more
Homework assistance is higly discouraged by this forum, because giving answers defeats the purpose of the student solving a problem using the tools and concepts that the instructor has already supplied them with.
See lessWith that said, I’ll generalize with what I think I know. QBasic can work with data in two ways: dynamically (in memory, using an array), or by manipulating parts of textfiles on disk. Both have their strengths and wimps. Memory approach requires of course that you have enough memory to load the entire file into an array. (Windows might include implicit “virtual memory” which would include disk support for memory-challenged systems). This approach is assumed to be faster. File (ie: disk) approach allows larger data-volume since the disk is supplying storage, but for that reason is assumed to be slower.
QBasic also suffers from the limitation that it does not have a “delete-element” function for arrays, which most other current languages have. A third option (sorry) is to load the entire text into a long string, then manipulate the string using QB functions, but I believe QB limits strings to 64K but I might be wrong in this.
Ok, that was your introduction and initiation to forum assistance – God help you!
Removal of data in essence: read and write (or leave in place) data up to the point where the deletions is to occur (call this “A” f/e). Then “jump over” the content to be deleted, then, starting where the deletion content ends, append all further material to “A”. Simple. With an array, shift all elements “above” the deletion down one element to “pave over” the deleted material.
This does not take into account “indexing” concept, which is a whole nother chapter.
Help Reading Columns In A Csv File With Vbs
set fso... Set WshShell... Set InputFile = fso.OpenTextFile("h:\usr\bin\MachineList.Txt") Do While Not (InputFile.atEndOfStream) iline=split(inputFile.ReadLine,",") Ping = WshShell.Run("ping -n 1 " & iline(0), 0, True) objExcel.Cells(intRow, 1).Value = UCase(iline(1)) if Ping=0 then z="On" elseRead more
set fso…
See lessSet WshShell…
Set InputFile = fso.OpenTextFile(“h:\usr\bin\MachineList.Txt”)
Do While Not (InputFile.atEndOfStream)
iline=split(inputFile.ReadLine,”,”)
Ping = WshShell.Run(“ping -n 1 ” & iline(0), 0, True)
objExcel.Cells(intRow, 1).Value = UCase(iline(1))
if Ping=0 then z=”On” else z=”Off”
objExcel.Cells(introw,2).value=z&” Line”
‘===== end
I put the “createobject” outside the loop for efficiency. Note that ping (on win-7) gives the computer name in its output if you use the -a option, in the first line, second token, then you would not need to maintain the cross-reference, but then you need to capture the ping data.
For Loop Over Hidden Files
It's an interesting question ... I think you have to use /F instead of /R, basically to allow a command to be used. The problem with the "set" is that it is meant for standard behaviour, which is not what you want. I came to this : for /F %%f in ('dir *.* /B /S /AH') do echo %%f It does look for filRead more
It’s an interesting question … I think you have to use /F instead of /R, basically to allow a command to be used. The problem with the “set” is that it is meant for standard behaviour, which is not what you want. I came to this :
for /F %%f in (‘dir *.* /B /S /AH’) do echo %%f
It does look for files in subdirs, and it does show the hidden ones … but the problem is then this : it only shows the hidden ones. So, you would have to run this as well (for the non-hidden files) :
for /F %%f in (‘dir *.* /B /S /A-H’) do echo %%f
which should be the same as:
for /F %%f in (‘dir *.* /B /S’) do echo %%f
It also shows the full path, so no issue with file not being found cause you run it from different path or so.
See lessCan Any One Help Fixing A Reg File??
How do I import a key file into registry? In the View List under Configure the Target System, click Registry. In the Feature list, select the feature into which you want to import the . reg file. In the Destination computer's Registry view pane, right-click the registry key under which you want yourRead more
How do I import a key file into registry?
See lessIn the View List under Configure the Target System, click Registry. In the Feature list, select the feature into which you want to import the . reg file. In the Destination computer’s Registry view pane, right-click the registry key under which you want your registry data added and then click Import REG File.