View Single Post
Old 30th July 2017, 23:24   #2
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 342
Question

can remove directory from batch file
but do can do it with nsis?

BatchFile Remove folder AAA From Host
HTML Code:
@echo off
echo FTPUSERNAME> DeleteDirectory.txt
echo FTPPASSWORD>> DeleteDirectory.txt
echo CD AAA>>DeleteDirectory.txt
echo prompt>>DeleteDirectory.txt
echo mdelete *>>DeleteDirectory.txt
echo cd ..>>DeleteDirectory.txt
echo RMdir AAA>>DeleteDirectory.txt
echo disconnect>>DeleteDirectory.txt
echo quit>>DeleteDirectory.txt
ftp -s:DeleteDirectory.txt FTPADDRESS
del DeleteDirectory.txt

OR


HTML Code:
@echo off 
echo open FTPADDRESS> DeleteDirectory2.txt
echo FTPUSERNAME>> DeleteDirectory2.txt
echo FTPPASSWORD>> DeleteDirectory2.txt
echo CD AAA>>DeleteDirectory2.txt
echo prompt>>DeleteDirectory2.txt
echo mdelete *>>DeleteDirectory2.txt
echo cd ..>>DeleteDirectory2.txt
echo RMDIR AAA>>DeleteDirectory2.txt
echo disconnect>>DeleteDirectory2.txt
echo quit>>DeleteDirectory2.txt
ftp -s:DeleteDirectory2.txt
del DeleteDirectory2.txt










i need a way for delete folder [Directory] with nsis
There is a plugin to do this?
r2du-soft is online now   Reply With Quote