Questions tagged [movefile]

53 questions
12
votes
2 answers

Move and rename file with double extension using MSBuild

In VS MSBuild we move group of files from one folder to another:
Alexan
  • 8,165
  • 14
  • 74
  • 101
2
votes
1 answer

Moving Files and Keeping Duplicates

I'm trying to move files and keep duplicate file names by appending (1) to one of the duplicate files. I'm using cd /D "source directory" move *.JPG "target directory" which doesn't solve the problem. Can someone please help? Thank you for the…
Kian Nikzad
  • 25
  • 1
  • 5
1
vote
0 answers

Cancel movefile operation

I tried to schedule a movefile (using the sysinternals tool movefile) operation to delete "C:\ProgramData\Microsoft\Windows Defender\Definition Updates\Backup" but I forgot the quotes and accidently scheduled C:\ProgramData\Microsoft\Windows to move…
1
vote
1 answer

How to handle file name with brackets in Windows CMD Batch for loop?

I want to write a script that move files which dropped on it to somewhere. So this is how my batch code goes: @echo off for %%i in (%*) do move "%%~i" "somewhere\%%~nxi" pause Then I find that when I drop a file with the name that contains ')' and…
yqZhang4480
  • 168
  • 5
1
vote
1 answer

Matlab move multiple files in a directory

Using Matlab, I want to move the images present in the same directory in two new directories according to their name. In the directory there are two set of image' name: 'neg-0.pgm', 'neg-1.pgm', 'neg-2.pgm', ... and 'pos-0.pgm', 'pos-1.pgm',…
1
vote
1 answer

How to use ftp.rename() to move one directory to another in Python using ftplib?

I have a NAS which having below file structures: Say I have a movie directory "Terminator" which stores in below directory: /media_staging/Terminator From Destination: /media_staging/Terminator To Destination: /video/ *Note:…
Woody
  • 125
  • 1
  • 11
1
vote
1 answer

Move files with specific name pattern to specific subfolders

So I would like to copy files to a specific folder based on a certain part in their name. For your overview I put my folder structure below. In the folders D1 and D2 I have multiple files (as example I put names of two files here) and the folders…
1
vote
2 answers

R move files with specific name pattern to folder in different subdirectories

I would like to copy files to a specific folder based on a certain part in their name. Below you will find my folder structure and where the files are. In both the D0 and D1 folders you will find files that are named like this structure:…
1
vote
2 answers

Move and replace file in a loop problem showing is being used by another process problem

I'm creating every time a file moving and replacing it from source folder to a destination folder with the same name in a loop and this is the problem : For the first move and replace, it works well then it yells the process cannot access the file…
JavaNinja
  • 49
  • 7
1
vote
1 answer

Access to Snowflake Internal Stage for Non Owner Role

I am putting data into Internal Table Stage and then use Copy command to load into Actual Table. It is working fine with my ID since I am table owner ( my role). Now, I am trying to run this process with a different user who has read and write…
1
vote
0 answers

Is there is a way to use glob.glob method to move files?

I've created a mini project where python will : Pick and format xlsx files; Append new report to master file; and Move the xlsx file to the archive folder at the end. I have no problems with the first and second steps, I use glob glob to match the…
Al19Rok92
  • 11
  • 1
1
vote
0 answers

MoveFile vs Antivirus (Trend Micro Security) : ACCESS_DENIED

I have a problem when copying an ".mdb" file (Microsoft Access) with the function "movefile". I use a C++ visual studio 2010 program. Code : strTxt1 = "g:\\temp\\toto.mdb"; strTxt2 = "g:\\temp\\tata.mdb"; if (!::MoveFile (strTxt1, strTxt2)) { …
Landstalker
  • 1,368
  • 8
  • 9
1
vote
1 answer

Move folder from team drive

how do you change the parent of a folder in a team drive. AddParents / RemoveParents generates an error "in a team drive a file has only one parent" and you can only read access to the parent collection. Should I make a copy of the file and delete…
1
vote
3 answers

Move a file with Python

I want to move a file and I'm having the following bug: Traceback (most recent call last): File "G:\Programming\Hack\scripts\# cut file.py", line 4, in shutil.move(src, dst) File "C:\Program Files 1\Python2\lib\shutil.py", line 316, in…
1
vote
1 answer

wordmove Validating movefile section: production error This remote has not ssh nor ftp protocol defined

I'm newbie in wordmove. I've created movefile.yml in my local server but doctor command says: ▬▬ ✓ Validating movefile section: production ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ error | This remote has not ssh nor ftp protocol defined ▬▬ ✓ Validating…
Marco Allori
  • 3,198
  • 33
  • 25
1
2 3 4