Ok, so here is a small script, that downloads the IDM_CON_DATA file with the current date, e.g. IDM_CON_DATA_20120417.dat, even if there are more oder files in the directory.---SNIP--- #!/bin/bash # filename: idmgetfile # Get file via FTP with actual date at the end of the file name # first of all,Read more
Ok, so here is a small script, that downloads the IDM_CON_DATA file with the current date, e.g. IDM_CON_DATA_20120417.dat, even if there are more oder files in the directory.
---SNIP---
#!/bin/bash
# filename: idmgetfile
# Get file via FTP with actual date at the end of the file name
# first of all, set the parameters for the FTP operations
DESTFTPANSWERFILE="/tmp/ftpanswerfile" # define, where to store the ftp answer file
FTPSERVER="192.168.1.10" # define domainname or ip address of the ftp server
DESTDIR="/tmp" # define local destination directory to download to:
SRCDIR="/data/transfer/temp" # define directory at the ftp server, to download from
FTPUSERNAME="ftpuser" # define ftp username
FTPPASSWD="ftp123" # define ftp password
FNAME="IDM_CON_DATA_$(date +"%Y%m%d".dat)" # define filename to download
# Now with this informations, we can generate the FTP answer file
echo "open $FTPSERVER" > $DESTFTPANSWERFILE # an already existing answer file will be overwritten
echo "user" >> $DESTFTPANSWERFILE # initiate ftp logon
echo "$FTPUSERNAME $FTPPASSWD" >> $DESTFTPANSWERFILE # give username and password automatically
echo "binary" >> $DESTFTPANSWERFILE # set ftp transfermode to binary
echo "lcd $DESTDIR" >> $DESTFTPANSWERFILE # change to local destination folder, where to store downloaded file
echo "cd $SRCDIR" >> $DESTFTPANSWERFILE # change ftp source folder, from where to download the file
echo "mget $FNAME" >> $DESTFTPANSWERFILE # get the source file
echo "bye" >> $DESTFTPANSWERFILE # end ftp session
# At least, start the ftp download
ftp -inA < $DESTFTPANSWERFILE
---SNIP---
You simply have to change some foldernames at the beginning of the script, to meet your needs and the ftp server address.
Ok, here's what I could come up with:'===== begin vbscript anomyze.vbs, usage: anomyze infile > outfileset regex=new regexpregex.ignorecase=falseregex.global=trueset fso=createobject("scripting.filesystemobject")z=fso.opentextfile(wscript.arguments(0),1).readalldim n(6)'== first, the basen(0)="\dRead more
Ok, here’s what I could come up with: ‘===== begin vbscript anomyze.vbs, usage: anomyze infile > outfile set regex=new regexp regex.ignorecase=false regex.global=true set fso=createobject(“scripting.filesystemobject”) z=fso.opentextfile(wscript.arguments(0),1).readall dim n(6) ‘== first, the base n(0)=”\d{1,2}(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)” ‘now add qualifiers n(1)=n(0)+”13″ n(2)=n(0)+”\b” n(0)=n(0)+”13 [A-Z]{6} “ n(3)=”——- —— “ n(4)=”*******” n(5)=”*****” for i=0 to 2 regex.pattern=n(i) z=regex.replace(z,n(i+3)) next wscript.echo z ‘====== end vbscript
You will note that the year is “hard-wired” as 13. You could make it more flexible, if need be: replace “13 [” with “1\d{1,1} [“
Stole some of Mechanix's code ( https://computing.net/answers/pr... ) to check on directory emptiness.This code is tested:You may need to finetune for special files (hidden, system), but it looks to be working OK:@echo onset outfile=C:\emptydirs.logset where2look=C:\del %outfile%for /F "tokens=*" %%Read more
I believe that everything you are asking for can be found here:http://windowssecrets.com/forums/sh...First, run the code found at the bottom of the response to get a list of the attributes that the getdetailsof method can extract.Choose the ones you want (by number) and modify this line of the codeRead more
I believe that everything you are asking for can be found here:
First, run the code found at the bottom of the response to get a list of the attributes that the getdetailsof method can extract.
Choose the ones you want (by number) and modify this line of the code at the top of the response to match your desired values. (You are not limited to just 4.)
vArray = Array(0, 31, 1, 163)
My quick testing revealed 2 things:
1 – I tested the code on a Windows 7 machine, first by choosing the C:\Users\Public\Videos\Sample Videos directory, which contains a single .wmv file and then by choosing a folder that I created which contains two .mp4 files. When I run the macro and choose those folders, the folder looks empty, but the code actually imports the properties that I requested for each file. What this means is that it doesn’t appear that you can choose which files you want to work with. The code simply imports the requested properties for every file in the folder.
2 – You asked for the duration. There is a value for Duration (36) but this returned a blank cell. When I used the value for Length (27), it returned the run-time of the videos.
As stated before I have ALREADY DOWNLOADED THE LATEST DRIVERS! Why doesn't anyone listen? They were downloaded from the website when I first put the SSD into the pc but they didn't work. I don't know why.So for an update. I transferred the drivers from the old hdd to the new ssd using a driver transRead more
As stated before I have ALREADY DOWNLOADED THE LATEST DRIVERS! Why doesn’t anyone listen? They were downloaded from the website when I first put the SSD into the pc but they didn’t work. I don’t know why.
So for an update. I transferred the drivers from the old hdd to the new ssd using a driver transfer program called DriverMax. DriverMax was excellent and I transferred over all my drivers and after replacing the SSD the wireless card started up again. So it was an issue with the newer driver from the TP Link website. For some reason the original driver from the cd worked much better. So you see downloading the latest drivers isn’t the be all and end all of fixes.
If anyone’s interested in DriverMax you can find more info here:
Do not update the driver through Device Manager. Download the driver from the Acer website. On Acer laptops, the wireless device is usually an Atheros one, but your's may be different.Select your model name & number on the Acer website and you should see the drivers which are correct for that moRead more
Do not update the driver through Device Manager. Download the driver from the Acer website. On Acer laptops, the wireless device is usually an Atheros one, but your’s may be different.
Select your model name & number on the Acer website and you should see the drivers which are correct for that model.
The default region is “United States”. If your laptop was designed for a different region, click “United States” at bottom left of page and select your country from the list.
The first thing you need to do if the system is operating is to go to Windows 7 site and run the compatibility test to see if there are any issues.If there are no issues, or if your system is not currently bootable, see if all hardware manufacturers have Windows 7 drivers available for them. If theRead more
The first thing you need to do if the system is operating is to go to Windows 7 site and run the compatibility test to see if there are any issues. If there are no issues, or if your system is not currently bootable, see if all hardware manufacturers have Windows 7 drivers available for them. If the test comes back with any significant issues that you cannot correct or if you cannot get drivers for your hardware, do not bother trying to proceed. These should have been done before you even purchased Windows 7 for it. If you can actually proceed, disconnect any hard drives that are purely for storage and just leave the one you are installing W7 on (if going for dual boot then leave that drive connected). If you are planning to install W7 on 80 GB drive, know that you will not have much space left on it after the installation, in fact it may not accept the drive because it is too small (I think the final install is about 60GB and there are all kinds of temporarily installed files that are removed after the install is complete).
You have to be a little bit crazy to keep you from going insane.
Ready-to-use external hard drive enclosures are usually held together by concealed clips around the edges so it has to prised open with a flat, thin-bladed tool. In some cases I have even known the two halves of the enclosure to be bonded together, making access to the drive extremely difficult. ThaRead more
Ready-to-use external hard drive enclosures are usually held together by concealed clips around the edges so it has to prised open with a flat, thin-bladed tool. In some cases I have even known the two halves of the enclosure to be bonded together, making access to the drive extremely difficult. That’s why many people prefer to buy an empty third-party enclosure and put their own hard drive into it.
Furthermore, the drive sometimes has a proprietary, non-standard interface which is neither IDE nor SATA as we know it.
Do not rely on Windows update or other ways to check your drivers for you. Go to Dell's website and download the correct drivers for your computer anytime you need drivers. This is the only way to ensure you get the correct drivers. The only exception would be if you changed out a component like a gRead more
Do not rely on Windows update or other ways to check your drivers for you. Go to Dell’s website and download the correct drivers for your computer anytime you need drivers. This is the only way to ensure you get the correct drivers. The only exception would be if you changed out a component like a graphics card, then you would go to their site and get that driver from that manufacturer. With your model number and your service tag number (and possibly your version of Windows), you should have no trouble getting the correct drivers. If you are planning to upgrade eventually to Windows 7, check while you are there if there are drivers available for your system specifically for Windows 7, I do not recommend upgrading unless you can easily find the proper drivers. Start here: http://www.dell.com/support/drivers…
You have to be a little bit crazy to keep you from going insane.
Solved Script To Get Dynamic File Name
Ok, so here is a small script, that downloads the IDM_CON_DATA file with the current date, e.g. IDM_CON_DATA_20120417.dat, even if there are more oder files in the directory.---SNIP--- #!/bin/bash # filename: idmgetfile # Get file via FTP with actual date at the end of the file name # first of all,Read more
You simply have to change some foldernames at the beginning of the script, to meet your needs and the ftp server address.
This should work for you.
Solved Extract By a Batch File, The Lines Located Between Two Tags
Ok, here's what I could come up with:'===== begin vbscript anomyze.vbs, usage: anomyze infile > outfileset regex=new regexpregex.ignorecase=falseregex.global=trueset fso=createobject("scripting.filesystemobject")z=fso.opentextfile(wscript.arguments(0),1).readalldim n(6)'== first, the basen(0)="\dRead more
‘===== begin vbscript anomyze.vbs, usage: anomyze infile > outfile
set regex=new regexp
regex.ignorecase=false
regex.global=true
set fso=createobject(“scripting.filesystemobject”)
z=fso.opentextfile(wscript.arguments(0),1).readall
dim n(6)
‘== first, the base
n(0)=”\d{1,2}(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)”
‘now add qualifiers
n(1)=n(0)+”13″
n(2)=n(0)+”\b”
n(0)=n(0)+”13 [A-Z]{6} “
n(3)=”——- —— “
n(4)=”*******”
n(5)=”*****”
for i=0 to 2
regex.pattern=n(i)
z=regex.replace(z,n(i+3))
next
wscript.echo z
‘====== end vbscript
You will note that the year is “hard-wired” as 13. You could make it more flexible, if need be: replace “13 [” with “1\d{1,1} [“
Create Batch File To Check Empty Folder
Stole some of Mechanix's code ( https://computing.net/answers/pr... ) to check on directory emptiness.This code is tested:You may need to finetune for special files (hidden, system), but it looks to be working OK:@echo onset outfile=C:\emptydirs.logset where2look=C:\del %outfile%for /F "tokens=*" %%Read more
This code is tested:
You may need to finetune for special files (hidden, system), but it looks to be working OK:
@echo on
set outfile=C:\emptydirs.log
set where2look=C:\
del %outfile%
for /F “tokens=*” %%a in (‘dir %where2look% /B /AD /S’) do (
dir “%%a” /b > nul 2> nul
if errorlevel 1 (
echo Directory “%%a” is empty>> %outfile%
)
)
Solved How To Export Video Detail Info Into Excel
I believe that everything you are asking for can be found here:http://windowssecrets.com/forums/sh...First, run the code found at the bottom of the response to get a list of the attributes that the getdetailsof method can extract.Choose the ones you want (by number) and modify this line of the codeRead more
http://windowssecrets.com/forums/sh…
First, run the code found at the bottom of the response to get a list of the attributes that the getdetailsof method can extract.
Choose the ones you want (by number) and modify this line of the code at the top of the response to match your desired values. (You are not limited to just 4.)
My quick testing revealed 2 things:
1 – I tested the code on a Windows 7 machine, first by choosing the C:\Users\Public\Videos\Sample Videos directory, which contains a single .wmv file and then by choosing a folder that I created which contains two .mp4 files. When I run the macro and choose those folders, the folder looks empty, but the code actually imports the properties that I requested for each file. What this means is that it doesn’t appear that you can choose which files you want to work with. The code simply imports the requested properties for every file in the folder.
2 – You asked for the duration. There is a value for Duration (36) but this returned a blank cell. When I used the value for Length (27), it returned the run-time of the videos.
I hope that helps.
Click Here Before Posting Data or VBA Code —> How To Post Data or Code.
message edited by DerbyDad03
Solved Wireless Card Disappeared After Installing SSD? TP-Link TL-W
As stated before I have ALREADY DOWNLOADED THE LATEST DRIVERS! Why doesn't anyone listen? They were downloaded from the website when I first put the SSD into the pc but they didn't work. I don't know why.So for an update. I transferred the drivers from the old hdd to the new ssd using a driver transRead more
So for an update. I transferred the drivers from the old hdd to the new ssd using a driver transfer program called DriverMax. DriverMax was excellent and I transferred over all my drivers and after replacing the SSD the wireless card started up again. So it was an issue with the newer driver from the TP Link website. For some reason the original driver from the cd worked much better. So you see downloading the latest drivers isn’t the be all and end all of fixes.
If anyone’s interested in DriverMax you can find more info here:
http://www.howtogeek.com/howto/wind…
It makes restoring a computer after hdd format a lot smoother.
Acer Aspire 1410 Wifi Problem
Do not update the driver through Device Manager. Download the driver from the Acer website. On Acer laptops, the wireless device is usually an Atheros one, but your's may be different.Select your model name & number on the Acer website and you should see the drivers which are correct for that moRead more
Select your model name & number on the Acer website and you should see the drivers which are correct for that model.
Go here: http://support.acer.com/us/en/defau…
The default region is “United States”. If your laptop was designed for a different region, click “United States” at bottom left of page and select your country from the list.
Solved Motherboard Asus P5G41C-M LX Problem
The first thing you need to do if the system is operating is to go to Windows 7 site and run the compatibility test to see if there are any issues.If there are no issues, or if your system is not currently bootable, see if all hardware manufacturers have Windows 7 drivers available for them. If theRead more
If there are no issues, or if your system is not currently bootable, see if all hardware manufacturers have Windows 7 drivers available for them. If the test comes back with any significant issues that you cannot correct or if you cannot get drivers for your hardware, do not bother trying to proceed.
These should have been done before you even purchased Windows 7 for it.
If you can actually proceed, disconnect any hard drives that are purely for storage and just leave the one you are installing W7 on (if going for dual boot then leave that drive connected). If you are planning to install W7 on 80 GB drive, know that you will not have much space left on it after the installation, in fact it may not accept the drive because it is too small (I think the final install is about 60GB and there are all kinds of temporarily installed files that are removed after the install is complete).
You have to be a little bit crazy to keep you from going insane.
Laptop Crashes While Charging Any Fixes?
Might be heat buildup from both charging and running the game?Why did it take me over a year to phone in a problem to ATT?
Might be heat buildup from both charging and running the game?
Why did it take me over a year to phone in a problem to ATT?
Solved How Do I Open Disassemble Transcend StoreJet 25A3 Hard Disk?
Ready-to-use external hard drive enclosures are usually held together by concealed clips around the edges so it has to prised open with a flat, thin-bladed tool. In some cases I have even known the two halves of the enclosure to be bonded together, making access to the drive extremely difficult. ThaRead more
Furthermore, the drive sometimes has a proprietary, non-standard interface which is neither IDE nor SATA as we know it.
[Solved] Copying Exe Files From Cd To Pc
Do not rely on Windows update or other ways to check your drivers for you. Go to Dell's website and download the correct drivers for your computer anytime you need drivers. This is the only way to ensure you get the correct drivers. The only exception would be if you changed out a component like a gRead more
Do not rely on Windows update or other ways to check your drivers for you. Go to Dell’s website and download the correct drivers for your computer anytime you need drivers. This is the only way to ensure you get the correct drivers. The only exception would be if you changed out a component like a graphics card, then you would go to their site and get that driver from that manufacturer. With your model number and your service tag number (and possibly your version of Windows), you should have no trouble getting the correct drivers. If you are planning to upgrade eventually to Windows 7, check while you are there if there are drivers available for your system specifically for Windows 7, I do not recommend upgrading unless you can easily find the proper drivers.
Start here: http://www.dell.com/support/drivers…
You have to be a little bit crazy to keep you from going insane.