folder

Bash script to find a directory, list its contents and sub-folders info

Hi I want to write a script that will: 1- locate folder "store" on a *nix filesystem 2- move into that folder 3- print list of contents with last modification date 4- calculate sub-folders size This folder's absolute path changes from server to server, but the folder name remains the same always. There is a config file that contai...

How to create a batch file to delete folders that lie between user specified created date of the folder.

Hi , I need a batch file which deletes all the folders that were created between a specific date.The dates should be user input. That is created date from and till provided by user input. Thanks Nis ...

How can i create a shortcut file to a sharepoint document library so that i can email it to people

I need to create a shortcut file that links to a sharepoint document library and then send that in an email (don't worry about outlook blocking lnk files). I have had a look at how to how to create a standard shortcut file in C# but this fails when you give it a server address (\servername\site\documentlibrary) Does anyone have an idea...

Create and access folder outside Apache Tomcat webapps folder

My web application requires functionality where end users can upload content, that can be later downloaded or viewed by others, the problem with current scheme is If I create such folder as part of your web project under webapps, every time I do deploy your web application (*.war), the content of that directory will be lost (or overridde...

Vbscript - Checking each subfolder for files and copy files

I'm trying to get this script to work. It's basically supposed to mirror two sets of folders and make sure they are exactly the same. If a folder is missing, the folder and it's content should be copied. Then the script should compare the DateModified attribute and only copy the files if the source file is newer than the destination f...

Copy file from server share to local folder with Applescript

Hello. I have a folder on a server which is shared with guest access enabled. I want to be able to copy a file from that folder to a local machine with Applescript. So far I have: property source : "server:sharedfolder:file.ext" property destination : "Macintosh HD:Users:User:Documents:Folder" tell application "Finder" copy file "so...

Adobe Air how to check if folder exists?

Adobe Air (2.0) how to check if folder exists? (like folder C:\Program Files (x86) on windows) (code example needed, please) ...

Is there any handy api to check whether the current folder is hide in windows?

I need a very fast way to check a list of path, whether they are visiable or not. If the pathA's parent,parent's parent ... is hide, then I think this folder is not visible. Is there any handy API to do it in windows? Many Thank! ...

Access file in weblogic server

Hi all, Is there a folder in the Domain Directory of Weblogic, where files put inside can be accessed directly from web browser? In other word, I don't have to pack the file in an ear, war file and deploy it to make it accessible? Thank you very much Regards K. ...

'Overwrite' php.ini settings

I have a folder, and for all php files in that folder (or even better, in that folder or any folders within it) I'd like to make some changes to the php settings. Can I just place a php.ini file in that folder with those settings I'd like to change? If so, any reason why this wouldn't be working for me? It's my own server. Thanks! edi...

Size of individual folders in svn

How can i find the size of the folders in svn individually. Is there a way to limit the size of the folders?Say in case I have 10 folders, can I limit their size so that people using it have a limited space? ...

vb.net how to check for changes in folder upon application start?

while the application is running i'm using FileSystemWatcher to monitor the folder. But what if there are changes to the folder when the application is not running, how can I check for these changes when the application starts. (similar to how windows media player, for example, monitors your music folder. Even when you add songs to that...

Building json from folder structure and vice versa

Hi, I'm trying to generate a json representation from a folder structure. Examplee folder/file structure: folder |_ meta.xml |_ subdir1 |_ textfile1.txt |_ subdir2 |_ textfile2.txt Manually generate the json representation of this structure: def builder = new net.sf.json.groovy.JsonGroovyBuilder() def json = builder.dir { ...

Problem creating folder?

I am trying to create folder like this $destination = "../enumesis.com/_pcode/../_compile"; mkdir($destination); But this gives error UPDATE What i am doing is, taking ../enumesis.com/_pcode as input from user and I want to create a folder outside the _pcode Directory Here is my error Warning: mkdir() [function.mkdir]: No such file...

How to **delete-protect** a file or folder on Windows Server 2003 and onwards using C#/Vb.Net?

Hi all, Is it possible to delete-protect a file/folder using Registry or using a custom written Windows Service in C#? Using Folder Permissions it is possible, but i am looking for a solution that even restricts the admin from deleting specific folders. The requirement is that the administrator must not be easily track the nature of p...

Extending folder (LiveFolder?) class

So, I noticed that I can organize apps into folders (HTC Incredible). However these folders are fairly limited in their capabilities. I want to implement an activity that extends the "base" folder activity (at the very least I want to add the ability to rearrange items in folders), but I can't figure out the class name... So, what's the ...

Rename all files in a folder using batch

I would like to create a batch file to rename all the files with extension ".log" in a folder to append with today's date. For example : App.log will be appended to App.log06112010 where date is 06112010. Please suggest ...

Applescript: Get directory dropped on

Hi, I have a applescript with the following: on open dir tell application "Finder" tell application "Terminal" activate tell application "Terminal" do script "cd " & dir end tell end tell end tell end open It works, and gets the directory thats droppe...

How do I test to see that a directory is empty in ANT?

How can one test to see that a directory is empty in ant? ...

REALBasic Child FolderItem Should Be a Directory Also

I have a bunch of Realbasic code that was written on a Mac that I'm supposed to port to Windows. Right now let's just try to get the program running from within REAL Studio. GetFolderItem("") returns the folder the application is in. Child("A") returns another FolderItem how I would expect. But when I call Child("B") on A it returns a Fo...