Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Batch Script For Windows 7

Avatar of WilsonJ
WilsonJFlag for United States of America asked on
ProgrammingWindows 7
7 Comments1 Solution657 ViewsLast Modified:
Hello Experts,

I need your help,

I have two Scripts i use to retrieve and deposit files into our ftp. the scripts work like a champ in XP but now i must update to windows 7 and they no longer work. it gives an "Access File Denied" error.

Here are the scripts i use. What do i need to modify in the scripts or Windows 7 security to allow me to use it.

Thank  you in advance.

Wilson J

Receive Update

echo off
del c:\ftp.txt
echo username>> c:\ftp.txt
echo password>> c:\ftp.txt
echo prompt off >> c:\ftp.txt
echo lcd "c:\RIFolder\" >> c:\ftp.txt
echo get "SFolder\RIFolder\filename.XLT" >> c:\ftp.txt
echo get "SFolder\RIFolder\\filename.txt" >> c:\ftp.txt
echo bye >> c:\ftp.txt
ftp -s:c:\ftp.txt ftp.domainname.com
del c:\ftp.txt

Send Update

echo off
del c:\ftp.txt
echo username>> c:\ftp.txt
echo password>> c:\ftp.txt
echo prompt off >> c:\ftp.txt
echo mput "c:\RIFolder\import\*.csv" >> c:\ftp.txt
echo bye >> c:\ftp.txt
ftp -s:c:\ftp.txt ftp.domainname.com
del c:\ftp.txt
echo off
echo off
cd "c:\RI\import"
move /y *.csv "c:\RIFolder\import\backup\"
ASKER CERTIFIED SOLUTION
Avatar of Martin_J_Parker
Martin_J_ParkerFlag of United Kingdom of Great Britain and Northern Ireland image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers