15,922,145 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11584553 (Top 4 by date)
Member 11584553
8-Sep-15 22:49pm
View
I came out with a different approach...
I need to write a batch file that copies a file to existing folder and renames it with current month and year. I used the below code
At the moment, my batch file consists of only this command:
**@ECHO OFF
copy /y D:\SalesMixExp\Sales_Mix_v1.2_082015.xlsx D:\SalesMixExp\Sales_Mix_v1.2_092015.xlsx**
It works fine. But every time i need to change the newly created filename with current month and year. i.e for ex: 092015 in my filename is **sep2015** and for next month it should be automatically renamed as **Sales_Mix_v1.2_102015.xlsx**...Please help me in resolving my problem
Member 11584553
7-Sep-15 0:11am
View
Actually SalesItem is a view name(which i used above) . In that view i joined 3 different tables. when i execute view i get 8 Columns.That data should be automatically exported as pivot table every month.
Member 11584553
6-Sep-15 21:45pm
View
Thank you Tomas Takac. Actually creation of Excel file and conversion into pivot table should be done automatically at the beginning of every month. How should i do that
Member 11584553
6-Sep-15 21:38pm
View
Deleted
Thank you Tomas Takac. Actually creation of Excel file and conversion into pivot table should be done automatically at the beginning of every month. How should i do that