Questions tagged [movefile]

53 questions
0
votes
0 answers

GetFolder on server

I want to use FileSystemObject to get the name of a folder and rename a file with VBScript (MoveFile). So: Set oFSO = CreateObject("Scripting.FileSystemObject") folder = "collab\met\met0025\myFolder" Set f = oFSO.GetFolder(folder) response.write…
Patix80
  • 3
  • 3
0
votes
0 answers

Python - os.rename(), moving a *.sqlite ddbb form one folder to another

I am having some troubles moving one *.sqlite ddbb that I've created from one folder to another. this is my attempt: Import os Import sqlite3 Import pandas as pd #There is some code here to get my pandas dataframe Then the goal of the following…
-1
votes
1 answer

VBScript: Move files to different folders depending on string in file name (For Each loop)

Original question: I am quite unskillful with VBScript but would need an efficient solution for saving me lots of time selecting and copying files manually: I have a folder with thousands raster files containing values of daily temperature for a…
ebcs
  • 89
  • 8
-1
votes
1 answer

VBS move files from download

how to move a file from C:\Users\username\Downloads is there a variable for username so that if it is on someone else his computer that it also works and that you don't need to chance the code. Because I can't acces the username so I can't move any…
kajvans
  • 85
  • 6
-1
votes
1 answer

Move file from internal storage to Sd card

I want to move file from internal storage to sd card. I've tried with Environment.getExternalStorageDirectory() but it's moving internal storage only. I've used below code: ContextCompat.getExternalFilesDirs(mActivity, null)[0] but it's moving in…
Komal
  • 79
  • 1
  • 10
-2
votes
1 answer

MoveFile function convert syntax / how to use MoveFile with variables to rename folders

This part of my programm tries to rename all folders and subfolders. All other functionality is in another code, here I'm just renaming a single folder by providing a path. Since rename doesnt seem to work for me I tried using MoveFile. I understand…
Gisbert12843
  • 76
  • 1
  • 10
-3
votes
2 answers

How to Monitor a Folder for files and move said files to another folder while running in background?

I want a program that will constantly monitor a folder for files, when a file appears in said folder the program should wait for the file to be accessible and then move said file to another folder. Currently the files are not being moved from folder…
John Linaer
  • 15
  • 1
  • 6
1 2 3
4