|
Hi all,
I've been using Visual Studio's Setup & Deployment Project to create an installer for a windows service and what i need is to create a folder within the application folder when the installer is run. How would i go about doing this? I tried adding...
Started by AlteredConcept on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The installer project on "Application....
If the sub-folder is empty it will not be created.
Did you put anything in the sub-folder you created in the Application Folder? Try adding a target text file to the sub-folder.
|
|
At work every morning I have to create multiple file folders (using a YYYYMMDD date format as the file folder name) in different directories across our network for various departments. This is a real pain, and time waster and I would like to automate ...
Answer Snippets (Read the full thread at superuser):
Create a batch file that looks like this:
@echo off for /F "tokens=2-4 delims=/ " %%i in ('date /t.
|
|
I have hundreds of text files in a folder named using this kind of naming convention:
Bandname1 - song1.txt Bandname1 - song2.txt Bandname2 - song1.txt Bandname2 - song2.txt Bandname2 - song3.txt Bandname3 - song1.txt ..etc.
I would like to create folders...
Started by jrara on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
It....
How about this:
for f in *.txt do band=$(echo "$f" | cut -d'-' -f1 | trim) if [ -d "$band" ] then mkdir "$band" fi mv "$f" "$band" done
You asked for a specific script, but if this is for organizing your music, you might want to check out EasyTAG .
|
Ask your Facebook Friends
|
I want new folders created on my Windows XP machine to automatically contain a text file.
Is there a way to perhaps add a new context menu on the right click menu which runs some sort of bat file?
Started by Picflight on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Simply add your BAT file to the SendTo folder in your user.
You'd article for adding such menu items.
One solution is to write your own 'Create New Folder' context menu item for Windows Explorer.
|
|
Hi
Any code examples on how i must go about creating a folder say "pics" in my root and then upload a images from the file upload control in into that "pics" folder? If you don't want to give me all the code, i will be happy with a nice link also to show...
Started by Etienne on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If (!System.IO.Directory.Exists(Server.MapPath(@"~/pix) { if (FileUpload1.HasFile && Path.GetExtension(FileUpload1.FileName) == ".jpg") { // create posted.
Exist - create it.
|
|
I have create a CMS to upload all image to a folder using ed all my images to a folder using,
file.SaveAs(Server.MapPath("../images/") + advertID.ToString + "_" + i.ToString + fileExt)
Now, all images are saved and i forgot it create thumbnails. :(
I ...
Started by Kushan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
String [] fileEntries = Directory.GetFiles(sourceDir); foreach(string fileName in fileEntries) { //Do resizing here... .
Slightly modified version of this :
public void createThumbnails(string sourceDir) { //Process the list of files found in the directory .
|
|
I created a feature that requires two folders to work correctly. These folders didn't existed in the rails project so I had to create them. Now I need to push this functionality so that the other developers can use it as well.
What do you think is the...
Started by marcgg on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
This is a good question....
I'd include this in a bootstrap rake task.
Migrations for creating folder is really not the right way I guess.
It should check for folders and if it doesn't exists; just create them.
Appropriately.
|
|
How can i create a folder under a bucket using boto library for amazon s3, i followed the manual, and create keys with contents with permission, metadata etc, but no where in the boto's documentation say how to create folders under bucket, or create folder...
Started by vito huang on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Yes, thers no folder concept in S3, you can create....
You can use CloudBerry Explorer freeware to create folders separated by '/' rather than with $folder$ suffix.
To create keys with slash symbol to mimic that.
|
|
How do I create the GodMode folder in Windows 7?
Started by Mark on
, 6 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
How does that work? You have to create....
Enter the next GodMode maker (this one).
Create a new folder on desktop (or anywhere else) and rename it like below:
GodMode button and it will create the Special Folder or “GodMode”.
|
|
Is it possible to create a shortcut to a folder in a different document library in a document library?
Started by Chris KL on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
FListName%2F_folder_%2F_folder1_%2F_folder11_
where _folder_ are the foldernames
The simplest way is to use the following pattern:
http://[server]/[site]/[ListName]/[Folder]/[SubFolder]
To place a shortcut.
|