directory

Batch script to rename folder to a new name and increment new name

核能气质少年 提交于 2019-12-13 03:46:03
问题 I'm a novice at batch sripting. I've been using Robocopy in a batch file (that calls a PowerShell script) to do various tasks that have made work life much more efficient. Now I need to rename a folder with a different name and increment that different name by 1 for each time the batch script is executed. Spacing is important because I have software that will not read the path if it is underscored between the naming. C:\Users\Desktop\Source\ What exists in this path is a folder sequence like

How do you use a php variable for directory path?

风流意气都作罢 提交于 2019-12-13 03:43:52
问题 I am getting userid from the url. This is what I have at the moment. I want to replace the one with $userid but I don't know how. It doesn't work and I can't seem to find the right syntax, please can someone help? function returnimages($dirname = "Photos/1") Basically I am trying to create a photo slideshow using html, php and javascript. I had something working before I started adding php into my code. I had html and an external javascript that changes the photos and they fade in and out in

How to specify path relative to current Master Page File

有些话、适合烂在心里 提交于 2019-12-13 03:39:41
问题 I am new to asp.net but Master Pages seem to do what I need - allow me to configure different templates/presentations/styles in runtime, so my app may take on a different look and feel by selecting a different Master Page. Each Master Page sits in its own folder with a set of images tailored for that "template" - I then want, in content pages, to reference various images sitting in the folder of the currently selected Master Page, for example the navigation buttons in a DataPager: <asp

Windows bat script to get directory size if over N GB then delete oldest files to recover space

巧了我就是萌 提交于 2019-12-13 03:18:11
问题 I'm new to bat scripting and I have following requirement to meet: If Dir eg. C:\test size exceed 50GB, then the script should delete the oldest files until the size of directory goes back to 50GB or little less. I have modified the below script I found on Get size of a directory in 'MB' using batch file but I'm not sure how to proceed with the remaining requirements. See the small modifications I have done so far and I would appreciate any input: @echo off set limit="50.0" set Folder="C:

jhipster hot reload failed to register liquibase changelog directory

£可爱£侵袭症+ 提交于 2019-12-13 03:08:47
问题 i just started using jhipster and face a problem already, here's my development stack : - os windows 7 - eclipse Juno - maven 3.1 - latest node and npm - mysql as db in ubuntu vm and here's what i have done : - generate jhipster "yo jhipster" - convert it to maven project "mvn eclipse:eclipse" - maven compile "mvn clean" & "mvn install" - add jhipster-reload feature in eclipse run vm arguments - and run the main class in eclipse "right click Application.java and run as java application" -

How to find the apk path on android?

旧城冷巷雨未停 提交于 2019-12-13 02:39:08
问题 I installed my android app(apk file) on my phone, when I go to my files: i can't find my com.myappnamefoler.net in folder(/sdcard/Android/data). is there a default path? 回答1: check in data/data/com.myappnamefoler.net 回答2: You should find in /system/app or /data/app 回答3: If you saved the files in the folder provided by getFilesDir() , it will be in the folder /data/data/<your.package.name>/files in the root of your system , not on your sdcard. (To view this, your phone needs to be rooted) If

(iphone) How to store images in directory structure (vs flat documents directory) and related questions

流过昼夜 提交于 2019-12-13 02:37:05
问题 I'm looking for a good way to manage many image files in my app. When the number of images to maintain gets large, it seems vital to have a directory structure to hold them.(to organize images and to support duplicate image names) Since normal way of storing images in documents directory(by adding images to xcode's resource folder) doesn't seem to support directory structure, I probably need to use something called bundle. Here are questions. It's not clear to me what's the difference between

ASP.NET: How to (programmatically) attach a <script> tag, containing a link to .js, to <head>?

こ雲淡風輕ζ 提交于 2019-12-13 02:32:05
问题 This is the scenario: I'm working on a new ASP.NET application that uses master pages for virtually all of the web pages in it, a few of them nested to 4 levels. Due to the size of the project, I was forced to organize the web pages into folders, at various depth levels. The global, Master (in uppercase) page, located at the root directory, contains some useful Javascript functions that are used all along the web app, and I wanted to place these functions together in a single .js file, in

specific file types in specific folders with vba

时光怂恿深爱的人放手 提交于 2019-12-13 02:29:10
问题 I have several folders that I want this code to edit inbetween start and finish. The part of the code that recycles the search in a different folder doesn't see any *.csv when Folder2 replaces Folder1 for SubFolder, but if the initial condition for SubFolder at the start is changed manually by me from "Folder1" to "Folder2" it will detect *.csv files in that folder now. It also detects *.csv in "Folder1" and "Folder3" when they are the initial condition for SubFolder. I did check as

Gcc.exe: CreateProcess : No such File or directory - Error?

人盡茶涼 提交于 2019-12-13 00:55:00
问题 I am writing an Objective C program and i saved it as 'hello.m'. The problem is when i am trying to compile it usig MinGW it is giving an error gcc hello.m // i used for compiling and it is giving following error gcc.exe: CreateProcess : No such File or directory is there any way to fix ..so that i can move forward.. Thank You 回答1: Use Sysinternals ProcessMonitor from here. What you do is find the .exe name that is doing the compiling under the Process Name column, like gcc.exe . Then look in